Preference for functional style route registration
The core reason is that this registration style is the most convenient and close to the features of the Go language itself. This registration style is basically supported by all major web frameworks today.