We use this for the sync function interpreter in Sync Gateway. Robert has been very helpful and responsive with pull requests etc. thanks!
Edit to add link to example code using Otto https://github.com/couchbase/sync_gateway/blob/master/src/gi...
Edit to add link to example code using Otto https://github.com/couchbase/sync_gateway/blob/master/src/gi...
Since gofmt sorts imports, the grouping is soon undone.
In any case, it is quite easy to distinguish the three kinds of imports if local imports share a common prefix or set of prefixes.
Am I missing something here?