1.Package name and imports
3.Global Constants and Var (and than eventually the init() function)
Utils functions (or private methods) should follow the other utils function or the type method that calls them.
Constants only used in a specific function or method should be defined before the function/method.
One good part of golang is the freedom of declarations, like interfaces which are declared when you need them.