Should probably be something like:
infra/appengine/sheriff-o-matic/som
admin // admin settings
clients // wrappers for talking to gitiles etc
handlers // pubsub, api http request handlers
model // structs we serialize for datastore, json for client etc
som // still holds main.go, http handler for /, registers routes etc
...
Right now it's all wadded up into one package with no clear separation between these concerns.
Comment 1 by martiniss@chromium.org
, Dec 1 2016