top

Package gorilla/schema fills a struct with form values.

The basic usage is really simple. Given this struct:

type Person struct {
	Name  string
	Phone string
}

...we can fill it passing a map to the Decode() function:

values := map[string][]string{
	"Name":  {"John"},
	"Phone": {"999-999-999"},
}
person := new(Person)
decoder := schema.NewDecoder()
decoder.Decode(person, values)

This is just a simple example and it doesn't make a lot of sense to create the map manually. Typically it will come from a http.Request object and will be of type url.Values: http.Request.Form or http.Request.MultipartForm:

func MyHandler(w http.ResponseWriter, r *http.Request) {
	err := r.ParseForm()

	if err != nil {
		// Handle error
	}

	decoder := schema.NewDecoder()
	// r.PostForm is a map of our POST form values
	err := decoder.Decode(person, r.PostForm)

	if err != nil {
		// Handle error
	}

	// Do something with person.Name or person.Phone
}

Note: it is a good idea to set a Decoder instance as a package global, because it caches meta-data about structs, and a instance can be shared safely:

var decoder = schema.NewDecoder()

To define custom names for fields, use a struct tag "schema". To not populate certain fields, use a dash for the name and it will be ignored:

type Person struct {
	Name  string `schema:"name"`  // custom name
	Phone string `schema:"phone"` // custom name
	Admin bool   `schema:"-"`     // this field is never set
}

The supported field types in the destination struct are:

* bool
* float variants (float32, float64)
* int variants (int, int8, int16, int32, int64)
* string
* uint variants (uint, uint8, uint16, uint32, uint64)
* struct
* a pointer to one of the above types
* a slice or a pointer to a slice of one of the above types

Non-supported types are simply ignored, however custom types can be registered to be converted.

To fill nested structs, keys must use a dotted notation as the "path" for the field. So for example, to fill the struct Person below:

type Phone struct {
	Label  string
	Number string
}

type Person struct {
	Name  string
	Phone Phone
}

...the source map must have the keys "Name", "Phone.Label" and "Phone.Number". This means that an HTML form to fill a Person struct must look like this:

<form>
	<input type="text" name="Name">
	<input type="text" name="Phone.Label">
	<input type="text" name="Phone.Number">
</form>

Single values are filled using the first value for a key from the source map. Slices are filled using all values for a key from the source map. So to fill a Person with multiple Phone values, like:

type Person struct {
	Name   string
	Phones []Phone
}

...an HTML form that accepts three Phone values would look like this:

<form>
	<input type="text" name="Name">
	<input type="text" name="Phones.0.Label">
	<input type="text" name="Phones.0.Number">
	<input type="text" name="Phones.1.Label">
	<input type="text" name="Phones.1.Number">
	<input type="text" name="Phones.2.Label">
	<input type="text" name="Phones.2.Number">
</form>

Notice that only for slices of structs the slice index is required. This is needed for disambiguation: if the nested struct also had a slice field, we could not translate multiple values to it if we did not use an index for the parent struct.

There's also the possibility to create a custom type that implements the TextUnmarshaler interface, and in this case there's no need to registry a converter, like:

type Person struct {
  Emails []Email
}

type Email struct {
  *mail.Address
}

func (e *Email) UnmarshalText(text []byte) (err error) {
	e.Address, err = mail.ParseAddress(string(text))
	return
}

...an HTML form that accepts three Email values would look like this:

<form>
	<input type="email" name="Emails.0">
	<input type="email" name="Emails.1">
	<input type="email" name="Emails.2">
</form>

Imported by 660 package(s)

  1. bitbucket.org/kirkmcdonald/broken
  2. bitbucket.org/kirkmcdonald/handling/forms
  3. github.com/42wim/matterbridge/matterhook
  4. github.com/9elements/gotoolbox/controllers
  5. github.com/AdoHe/go-restful/examples
  6. github.com/Akagi201/learning-golang/src/http
  7. github.com/AlexKomrakov/gohub/server
  8. github.com/AlexSnet/go-restful/examples
  9. github.com/Alma-media/go-restful/examples
  10. github.com/AndrewDonelson/go-pg-orm/example/web/controllers
  11. github.com/BTBurke/twiml
  12. github.com/BenOvermyer/writefreely
  13. github.com/CoinCircle/mattermost-server
  14. github.com/CoinCircle/mattermost-server/api4
  15. github.com/Comcast/webpa-common/device/drain
  16. github.com/CptSpaceToaster/adventurebot
  17. github.com/CptSpaceToaster/slackbot
  18. github.com/Crockeo/cerekhillen/controllers
  19. github.com/Crockeo/cerekhillen/middleware
  20. github.com/DSchalla/mattermost-server/web
  21. github.com/DancesportSoftware/das/controller/util
  22. github.com/DanielHeckrath/buffalo
  23. github.com/DrewWeth/eta/src/app/controllers/commentcontroller
  24. github.com/DrewWeth/eta/src/app/controllers/postcontroller
  25. github.com/ElectronicsExtreme/exeoauth2/handler/change_password
  26. github.com/ElectronicsExtreme/exeoauth2/handler/user
  27. github.com/EricChiang/cetcd
  28. github.com/EtixLabs/api
  29. github.com/EverythingMe/vertex
  30. github.com/FSX/WAD/beep
  31. github.com/FurqanSoftware/loadcat/ui
  32. github.com/FurqanSoftware/papyrus/ui
  33. github.com/GazeboXu/qor-example/app/orders
  34. github.com/GeoNet/fdsn/internal/fdsn
  35. github.com/IRCody/snap-plugin-collector-apache/apache
  36. github.com/Ishukone/codetainer
  37. github.com/Ivan8R/goShop
  38. github.com/JiscRDSS/rdss-archivematica-channel-adapter/amclient
  39. github.com/Jungju/lifelog
  40. github.com/LastZactionHero/graynote_server
  41. github.com/Leon2012/go-restful/examples
  42. github.com/LiveRamp/gazette/pkg/gazette
  43. github.com/LiveRamp/gazette/v2/pkg/fragment
  44. github.com/LiveRamp/gazette/v2/pkg/http_gateway
  45. github.com/Logiraptor/mosaic
  46. github.com/Lujeni/fyi
  47. github.com/LunaNode/lobster
  48. github.com/LunaNode/lobster/core/support
  49. github.com/Manbeardo/eventreporter
  50. github.com/Manbeardo/go-restful/examples
  51. github.com/Misrab/bookshare-backend-api/handlers
  52. github.com/Misrab/goapi/handlers
  53. github.com/Moddus/go-restful/examples
  54. github.com/MrToy/business
  55. github.com/MustWin/go-restful/examples
  56. github.com/Mustwin/go-restful/examples
  57. github.com/MyAnimeStream/arias
  58. github.com/NYC-Camp/authenticator/libuser
  59. github.com/NeilGarb/gotwilio
  60. github.com/ONSdigital/go-ns/validator
  61. github.com/Omie/messages/api/v1/messages
  62. github.com/Orion90/guessify
  63. github.com/OsvaldoTCF/o2go/controllers
  64. github.com/OsvaldoTCF/order2go/controllers
  65. github.com/PepperSalt42/api
  66. github.com/R4CHI7/go-restful/examples
  67. github.com/ReSc/godel/core/mvc
  68. github.com/ReneKroon/go-restful/examples
  69. github.com/RiftBit/go-vapi
  70. github.com/RiftBit/jqd
  71. github.com/Riftbit/go-vapi
  72. github.com/Riftbit/jqd
  73. github.com/RobotsAndPencils/marvin
  74. github.com/ShaorxCN/mattermost-server/web
  75. github.com/SpalkLtd/gotwilio
  76. github.com/SpirentOrion/luddite
  77. github.com/SpirentOrion/luddite.v2
  78. github.com/StefanKjartansson/stadfangaskra-rest/rest
  79. github.com/SvenDowideit/codetainer
  80. github.com/TakatoshiMaeda/gotwilio
  81. github.com/TheMysteriousVincent/liveinlife-restapi/pkg/profiles
  82. github.com/TheMysteriousVincent/liveinlife-restapi/pkg/users
  83. github.com/Throckmortra/go-restful/examples
  84. github.com/TimothyJones/trec-liveqa-server
  85. github.com/Velocidex/velociraptor/api
  86. github.com/WGH-/mattermost-server
  87. github.com/WGH-/mattermost-server/api4
  88. github.com/YouthBuild-USA/godata/forms
  89. github.com/Zenithar/api/utils
  90. github.com/ZhuBicen/gowiki
  91. github.com/aarondl/cinotify/coveralls
  92. github.com/abadcafe/kellyframework
  93. github.com/abci/go-restful/examples
  94. github.com/abduld/codetainer
  95. github.com/abh/dellingr
  96. github.com/abhiunc/go-restful/examples
  97. github.com/adohe/go-restful/examples
  98. github.com/agamble/lockbox
  99. github.com/agamble/tesoro
  100. github.com/aiyi/go-restful/examples
  101. github.com/alaska/go-restful/examples
  102. github.com/alecdwm/matterbridge/matterhook
  103. github.com/alecthomas/rapid
  104. github.com/alesstimec/juju/apiserver
  105. github.com/alexkomrakov/gohub/server
  106. github.com/alexsaveliev/vcsstore/server
  107. github.com/alt234/affadmin-go/controllers
  108. github.com/alt234/affadmin/controllers
  109. github.com/aluzzardi/go-restful/examples
  110. github.com/amattn/formr/examples
  111. github.com/amedeiros/buffalo
  112. github.com/ammario/paypal-ipn
  113. github.com/anthonynsimon/parrot/parrot-api/auth
  114. github.com/aquilax/novigeroi-go
  115. github.com/arehmandev/buffalo
  116. github.com/arjandepooter/slack-exact
  117. github.com/as27/buffalo
  118. github.com/ashleymcnamara/buffalo
  119. github.com/athega/whistler
  120. github.com/attache/attache
  121. github.com/augustoroman/handler
  122. github.com/axcoto/codetainer
  123. github.com/axw/juju/apiserver
  124. github.com/barnslig/oauth-account-manager
  125. github.com/bastiankoetsier/buffalo
  126. github.com/bbuck/graphql-go-handler
  127. github.com/bcampbell/superfastmatch/document
  128. github.com/bcampbell/superfastmatch/posting
  129. github.com/beati/mortg-exp/mortg-exp-gameserver
  130. github.com/bennyscetbun/fos2017
  131. github.com/bkputnam/gamestatemanager
  132. github.com/blockloop/boar
  133. github.com/blockninja/leeroyci/web
  134. github.com/bmbernie/utron/fixtures/todo/controllers
  135. github.com/boramalper/magnetico/cmd/magneticow
  136. github.com/bosssauce/ponzu/system/addon
  137. github.com/bosssauce/ponzu/system/admin
  138. github.com/bosssauce/ponzu/system/db
  139. github.com/brandonagr/dms-storage
  140. github.com/brendandburns/go-restful/examples
  141. github.com/briandowns/buffalo
  142. github.com/bringhub/buffalo
  143. github.com/bulletind/khabar-admin/handlers/preferences
  144. github.com/bussiere/LDVLH
  145. github.com/bzub/ponzu/system/addon
  146. github.com/bzub/ponzu/system/admin
  147. github.com/bzub/ponzu/system/api
  148. github.com/bzub/ponzu/system/db
  149. github.com/c0gent/unframed
  150. github.com/caesarxuchao/go-restful/examples
  151. github.com/cafra/utils/db
  152. github.com/caikaijie/igo-middleware/rest
  153. github.com/carbocation/go.graf
  154. github.com/carbocation/go.graf/example
  155. github.com/cblomart/myscript/utils
  156. github.com/cbroglie/go-restful/examples
  157. github.com/cedmundo/resty
  158. github.com/celeskyking/codetainer
  159. github.com/changboter/go-restful/examples
  160. github.com/chaosknight/aha/json_service
  161. github.com/chrisprobst/authboss-sample
  162. github.com/chrisscott/flippy
  163. github.com/clementauger/st/http
  164. github.com/clsung/go-restful/examples
  165. github.com/cocoonlife/gop
  166. github.com/codetainerapp/codetainer
  167. github.com/coffeehc/mattermost-server/web
  168. github.com/coincircle/mattermost-server
  169. github.com/concourse/faa/slackcommand
  170. github.com/coreos/cetcd
  171. github.com/corestoreio/parrot/parrot-api/auth
  172. github.com/corylanou/buffalo
  173. github.com/covrom/Go-Web-Development-Cookbook/chapter02
  174. github.com/cptspacetoaster/adventurebot
  175. github.com/crockeo/cerekhillen/controllers
  176. github.com/crockeo/cerekhillen/middleware
  177. github.com/cswank/store/internal/handlers
  178. github.com/cvvs/gopypi
  179. github.com/cwc/asset-tracker
  180. github.com/cwc/webconf
  181. github.com/davemachado/public-api
  182. github.com/davidbogue/lucid/controllers
  183. github.com/dbtleonia/bowl
  184. github.com/ddysher/go-restful/examples
  185. github.com/decred/politeia/politeiavoter
  186. github.com/decred/politeia/util
  187. github.com/deet/govenmo/local_sandbox
  188. github.com/delitrem/slview
  189. github.com/demisto/mattermost-server
  190. github.com/demisto/mattermost-server/api4
  191. github.com/derekdowling/bursa/controller/home
  192. github.com/devchakraborty/stokr/server
  193. github.com/diegogub/framgo
  194. github.com/dimiro1/experiments/bestpractices
  195. github.com/dimitern/juju/apiserver
  196. github.com/dixonwille/PokeGoSlack/helper
  197. github.com/dky/lenslocked.com/controllers
  198. github.com/dlapiduz/deploy-to-cf
  199. github.com/dodohq/dosms
  200. github.com/dodohq/images-store
  201. github.com/dolanor/buffalo
  202. github.com/dominicphillips/slackbot
  203. github.com/donovanhide/superfastmatch/document
  204. github.com/donovanhide/superfastmatch/posting
  205. github.com/donovanhide/superfastmatch/query
  206. github.com/dooferlad/juju/apiserver
  207. github.com/drewweth/eta/src/app/controllers/commentcontroller
  208. github.com/drewweth/eta/src/app/controllers/postcontroller
  209. github.com/drgrib/parker
  210. github.com/dsincl12/buffalo
  211. github.com/duane/go-restful/examples
  212. github.com/duanebester/go-restful/examples
  213. github.com/eahydra/go-restful/examples
  214. github.com/edoardo849/go-restful/examples
  215. github.com/eisengrind/orbis/pkg/profiles
  216. github.com/eisengrind/orbis/pkg/users
  217. github.com/elivoa/got/core/lifecircle
  218. github.com/elivoa/got/coreservice/coercion
  219. github.com/emicklei/go-restful/examples
  220. github.com/ercu/ponzu/system/addon
  221. github.com/ercu/ponzu/system/admin
  222. github.com/ercu/ponzu/system/api
  223. github.com/ercu/ponzu/system/db
  224. github.com/eremetic-framework/eremetic/server
  225. github.com/ericchiang/cetcd
  226. github.com/ericsnowcurrently/juju/apiserver
  227. github.com/ernestoalejo/closurer/app
  228. github.com/ernestokarim/closurer/app
  229. github.com/ernestokarim/serverlib/app
  230. github.com/etcd-io/cetcd
  231. github.com/evq/go-restful/examples
  232. github.com/eyesight-tech/go-restful/examples
  233. github.com/fabian-z/eporto
  234. github.com/fadib/thesrc/api
  235. github.com/fadib/thesrc/app
  236. github.com/fallenhitokiri/leeroyci/web
  237. github.com/faryon93/util
  238. github.com/faxal/idp/providers/form
  239. github.com/fitstar/slackbot
  240. github.com/fladz/slack-oncall-command
  241. github.com/flowchartsman/go-restful/examples
  242. github.com/fmpwizard/go-restful/examples
  243. github.com/foxycoder/goqu
  244. github.com/franciscocpg/go-restful/examples
  245. github.com/frankban/juju/apiserver
  246. github.com/fromkeith/gorest
  247. github.com/gaego/auth/dev
  248. github.com/gaego/auth/password
  249. github.com/gaigepr/list-app/handlers
  250. github.com/gdamore/go-restful/examples
  251. github.com/gedn/gowiki
  252. github.com/genghisjahn/slackbot
  253. github.com/gerbenjacobs/go-restful/examples
  254. github.com/gernest/utron/fixtures/todo/controllers
  255. github.com/gernest/zedlist/routes/dash
  256. github.com/ggitau/google-go
  257. github.com/gigforks/mattermost-server/api4
  258. github.com/gistia/slackbot
  259. github.com/gmemstr/mattermost-server/web
  260. github.com/gnotclub/albumify-next/controllers
  261. github.com/go-authboss/authboss-sample
  262. github.com/go-carrot/fsm-twilio
  263. github.com/go-web/httpio
  264. github.com/goanywhere/rex/form
  265. github.com/gocarina/pi
  266. github.com/gopheracademy/slackbot
  267. github.com/gophergala/gotoolbox/controllers
  268. github.com/gophergala2016/papyrus/ui
  269. github.com/greatbeyond/mailchimp
  270. github.com/guilhermebr/slackbot
  271. github.com/gust1n/thesrc/api
  272. github.com/gust1n/thesrc/app
  273. github.com/guus-vanweelden/zedlist/routes/dash
  274. github.com/guusvw/zedlist/routes/dash
  275. github.com/habuka036/ketchup/server/api
  276. github.com/hackclub-archive/orbit/api
  277. github.com/hackclub/orbit/api
  278. github.com/hackedu/orbit/api
  279. github.com/halk/in-common/api
  280. github.com/hariharan-uno/athena
  281. github.com/hariharan-uno/webhasher
  282. github.com/hashtock/hashtock-go/webapp
  283. github.com/hasyimibhar/bajet
  284. github.com/hc5duke/bones/web/forms
  285. github.com/hectorip/courier/handlers
  286. github.com/heldtogether/gotwilio
  287. github.com/henhouse/public-apis/server
  288. github.com/henrylee2cn/go-restful/examples
  289. github.com/henvic/climetrics/auth/handlers
  290. github.com/heridev/gophergala_repositories/gotoolbox/controllers
  291. github.com/heyitsanthony/cetcd
  292. github.com/hhxiao/go-restful/examples
  293. github.com/hjr265/loadcat/ui
  294. github.com/hnlq715/doggy
  295. github.com/hoenirvili/juju/apiserver
  296. github.com/honeycombio/examples/golang-webapp
  297. github.com/housinganywhere/handler
  298. github.com/howbazaar/juju/apiserver
  299. github.com/huichen/aha/json_service
  300. github.com/ian-kent/go-webapp/render
  301. github.com/ian-kent/service.go/web/render
  302. github.com/ibrt/mbd
  303. github.com/ibrt/mbd/internal/testrunner
  304. github.com/idebruijn/go-restful/examples
  305. github.com/igrybkov/go-restful/examples
  306. github.com/igungor/cmd/filmdizibot
  307. github.com/ilgooz/formutils
  308. github.com/innermond/enginium/schema
  309. github.com/ipiao/metools/mdecoder
  310. github.com/iris-contrib/parrot/parrot-api/auth
  311. github.com/itshosted/mcore/valid/valid
  312. github.com/itsjamie/authboss-sample
  313. github.com/jabong/go-restful/examples
  314. github.com/jamesmillerio/go-restful/examples
  315. github.com/jandre/codetainer
  316. github.com/jasonish/buffalo
  317. github.com/jasonrdsouza/foosball_monkey
  318. github.com/javinc/playgo/goryo/controllers
  319. github.com/javinc/puto
  320. github.com/jbaikge/ingress-inventory
  321. github.com/jbert/gop
  322. github.com/jcharlesworth/thesrc/api
  323. github.com/jcharlesworth/thesrc/app
  324. github.com/jeeyoungk/reversi/web
  325. github.com/jefferai/go-restful/examples
  326. github.com/jelder/bownse
  327. github.com/jennyservices/jenny/decoders
  328. github.com/jennyservices/jenny/encoders
  329. github.com/jessewalia/gocode
  330. github.com/jetsanix/go-restful/examples
  331. github.com/jgastal/goplay
  332. github.com/jhvhs/faa/slackcommand
  333. github.com/jimmy-go/srest
  334. github.com/jinuljt/goformvalidator
  335. github.com/jirwin/quadlek/quadlek
  336. github.com/jlevesy/mattermost-server/web
  337. github.com/jmhobbs/buffalo
  338. github.com/jmhodges/authboss-sample
  339. github.com/jmoiron/gowiki
  340. github.com/johnnylee/goutil/httprequest
  341. github.com/johnnylee/goutil/httputil
  342. github.com/jolestar/juju/apiserver
  343. github.com/jonas747/yagpdb/web
  344. github.com/jonaswouters/goclerk/routers/api/v1/contact
  345. github.com/jonaswouters/goclerk/routers/api/v1/organization
  346. github.com/joncalhoun/sockets
  347. github.com/josephmisiti/authboss-sample
  348. github.com/josephyzhou/go-restful/examples
  349. github.com/joshheinrichs/geosource/server/api
  350. github.com/jschalkwijk/GolangBlog/admin/model/pages
  351. github.com/jsimnz/go-restful/examples
  352. github.com/jskrepnek/goldie
  353. github.com/jstoja/api
  354. github.com/juju/1.25-upgrade/juju2/apiserver
  355. github.com/juju/juju/apiserver
  356. github.com/jungju/lifelog
  357. github.com/kakao/cite/controller
  358. github.com/kat-co/juju/apiserver
  359. github.com/katco-/juju/apiserver
  360. github.com/kch42/mailremind
  361. github.com/kenng/authboss-sample
  362. github.com/ketchuphq/ketchup/server/api
  363. github.com/kingzbauer/registry/registry
  364. github.com/kiwih/heyfyi-example/heyfyiserver
  365. github.com/kiwih/heyfyi/heyfyiserver
  366. github.com/kiwih/kiwiland/kiwiserver
  367. github.com/kiwih/npc-gen/npcserver
  368. github.com/kkeuning/ponzu/system/addon
  369. github.com/kkeuning/ponzu/system/admin
  370. github.com/kkeuning/ponzu/system/db
  371. github.com/kokeroulis/modip/api
  372. github.com/kouphax/dopi
  373. github.com/kuroneko/transmitsms
  374. github.com/kyleterry/funnel/web
  375. github.com/kyleterry/sufr/app
  376. github.com/lavab/api/utils
  377. github.com/lenfree/buffalo
  378. github.com/leoh0/cite/controller
  379. github.com/leonardoeloy/persona
  380. github.com/lexandro/go-restful/examples
  381. github.com/liujianping/go-restful/examples
  382. github.com/lixiangzhong/ostent/params
  383. github.com/luismiramirez/ok-go/routes
  384. github.com/lunanode/lobster
  385. github.com/lunanode/lobster/core/support
  386. github.com/m0sth8/go-restful/examples
  387. github.com/maddevsio/comedian/api
  388. github.com/makyo/goexplore/gorillastat/handlers
  389. github.com/mantasmatelis/stokr/server
  390. github.com/mathcamp/go-restful/examples
  391. github.com/mattermost/matterbuild/server
  392. github.com/mattermost/mattermost-server/web
  393. github.com/mattwallington/perfmon
  394. github.com/mbruzek/juju/apiserver
  395. github.com/mccolljr/attache
  396. github.com/mdhender/buffalo
  397. github.com/megadeezl/go-restful/examples
  398. github.com/metcalf/saypi/say
  399. github.com/mikedanese/go-restful/examples
  400. github.com/mikerjacobi/notifyApp/server/controllers
  401. github.com/milliant/go-restful/examples
  402. github.com/mirceamironenco/thesrc/api
  403. github.com/mirceamironenco/thesrc/app
  404. github.com/misrab/bookshare-backend-api/handlers
  405. github.com/misrab/goapi/handlers
  406. github.com/misrab/stellar-watch
  407. github.com/mmcfarland/prc
  408. github.com/moul/sapin/cmd/appspot
  409. github.com/moul/showcase
  410. github.com/mpdroog/rootdev-home
  411. github.com/mpnordland/blgr/posts
  412. github.com/mprobst/blog
  413. github.com/mshockwave/Share-Sound-API-Server/handlers
  414. github.com/mshockwave/share-sound-api-server/handlers
  415. github.com/mtojek/go-restful/examples
  416. github.com/muesli/go-restful/examples
  417. github.com/nasermirzaei89/go-restful/examples
  418. github.com/natefinch/juju/apiserver
  419. github.com/naturali/mattermost-server/web
  420. github.com/negz/kuberos
  421. github.com/neilgarb/gotwilio
  422. github.com/nicluo/gocontact
  423. github.com/nicomo/abacaxi/controllers
  424. github.com/nicowernli/gorequest
  425. github.com/niedbalski/juju/apiserver
  426. github.com/niels-s/go-restful/examples
  427. github.com/nilslice/cms/system/addon
  428. github.com/nilslice/cms/system/db
  429. github.com/ninjadojo/leeroyci/web
  430. github.com/ninjasphere/go-daikin-ac
  431. github.com/niubaoshu/appgo/server
  432. github.com/nsan1129/unframed
  433. github.com/nubunto/buffalo
  434. github.com/nucleardump/go-wires-old/controllers
  435. github.com/nucleardump/go-wires/models
  436. github.com/nucleartide/go-wires/models
  437. github.com/nucleartide/mango/models
  438. github.com/nullbio/buffalo
  439. github.com/nullbus/go-restful/examples
  440. github.com/nyaruka/courier/handlers
  441. github.com/nyc-camp/authenticator/libuser
  442. github.com/nytopop/utron/fixtures/todo/controllers
  443. github.com/ohlinux/go-restful/examples
  444. github.com/ojrac/asphodel-go/methods
  445. github.com/oli-g/gotwilio
  446. github.com/olliephillips/ponzu/system/addon
  447. github.com/olliephillips/ponzu/system/admin
  448. github.com/olliephillips/ponzu/system/api
  449. github.com/olliephillips/ponzu/system/db
  450. github.com/omie/messages/api/v1/messages
  451. github.com/opbk/openbook-landing
  452. github.com/openshift/go-restful/examples
  453. github.com/orangejohny/SBWeb/pkg/api
  454. github.com/orangesdk/codetainer
  455. github.com/orian/authboss-sample
  456. github.com/ostrost/ostent/params
  457. github.com/outdoorsy/gotwilio
  458. github.com/outself/go-restful/examples
  459. github.com/oxfeeefeee/appgo/server
  460. github.com/paceline/autosite-go/autosite
  461. github.com/packethost/juju/apiserver
  462. github.com/parrot-translate/parrot/parrot-api/auth
  463. github.com/paultyng/resttransport/echotransport
  464. github.com/pavelbyles/Inforce
  465. github.com/peppage/wanderinglunch
  466. github.com/perrito666/juju/apiserver
  467. github.com/peteretelej/buffalo
  468. github.com/peterskeide/bones/web/forms
  469. github.com/pgu/go-restful/examples
  470. github.com/philipithomas/buffalo
  471. github.com/phonkee/gopypi
  472. github.com/pietroglyph/mattermost-server/web
  473. github.com/piinecone/handler
  474. github.com/pingcap/etcdv3-gateway/gateway
  475. github.com/pjwerneck/bouncer/bouncermain
  476. github.com/playlist/playlist-builder
  477. github.com/plouc/gonode/plugins/api
  478. github.com/plouc/gonode/plugins/guard
  479. github.com/plouc/gonode/plugins/search
  480. github.com/plouc/pompoco
  481. github.com/plouc/pompoco/projects
  482. github.com/plouc/pompoco/users
  483. github.com/pnelson/httpc
  484. github.com/polyglottis/platform/frontend/handle
  485. github.com/ponzu-cms/ponzu/system/addon
  486. github.com/ponzu-cms/ponzu/system/admin
  487. github.com/ponzu-cms/ponzu/system/api
  488. github.com/ponzu-cms/ponzu/system/db
  489. github.com/porjo/go-restful/examples
  490. github.com/pradippatil/go-restful/examples
  491. github.com/profitbricks/juju/apiserver
  492. github.com/qichengzx/mattermost-server/web
  493. github.com/qingchengnus/cab-republic
  494. github.com/qmsk/pngtile/go/server
  495. github.com/qor/qor-example/app/orders
  496. github.com/quintans/maze
  497. github.com/rande/gonode/core/guard
  498. github.com/rande/gonode/modules/search
  499. github.com/realtimerealbook/rtrb-api/util
  500. github.com/reedobrien/go-restful/examples
  501. github.com/rentongzhang/go-restful/examples
  502. github.com/resc/godel/core/mvc
  503. github.com/retro486/go-asset-repo/assets
  504. github.com/retro486/go-asset-repo/auth
  505. github.com/rhinoman/go-restful/examples
  506. github.com/rickt/slack-flipper
  507. github.com/rickt/slack-team-directory-bot
  508. github.com/rics3n/docker-flow-proxy/server
  509. github.com/riftbit/go-vapi
  510. github.com/rkorkosz/goauth
  511. github.com/rlguarino/urlshortener/frontend
  512. github.com/rm8x/golang-demoserver
  513. github.com/rmulley/jc-hasher/src
  514. github.com/robdimsdale/raspberryfly
  515. github.com/robzienert/authboss-sample
  516. github.com/rosenhouse/cnsim/handlers
  517. github.com/runemadsen/ok-go/routes
  518. github.com/runtakun/go-api-generation-sample/templates
  519. github.com/runtakun/go-api-generation-sample/test/gen
  520. github.com/ryankurte/go-api/lib/formats
  521. github.com/ryankurte/go-api/lib/wrappers
  522. github.com/s41nn0n/go-restful/examples
  523. github.com/sabzil/ladybug
  524. github.com/sabzil/ladybug/interfacer
  525. github.com/samertm/githubstreaks
  526. github.com/schleppy/go-restful/examples
  527. github.com/scottjbarr/authboss-sample
  528. github.com/scristofari/golang-poll/api
  529. github.com/scristofari/translate
  530. github.com/sebber/go-wiki-web
  531. github.com/shantanuraj/bookshelf-api
  532. github.com/shawnps/mappuri
  533. github.com/silvasur/mailremind
  534. github.com/silverneko/gioj
  535. github.com/sirsean/packhunter/api
  536. github.com/sirsean/textback/sms
  537. github.com/sjhitchner/go-restful/examples
  538. github.com/skatsuta/codetainer
  539. github.com/slspeek/go-restful/examples
  540. github.com/smarterclayton/go-restful/examples
  541. github.com/smithfox/beego/context
  542. github.com/smn/courier/handlers
  543. github.com/sogko/handler
  544. github.com/sourcegraph/sourcegraph/cmd/frontend/internal/httpapi
  545. github.com/sourcegraph/sourcegraph/cmd/frontend/internal/pkg/handlerutil
  546. github.com/sourcegraph/sourcegraph/cmd/searcher/search
  547. github.com/sourcegraph/sourcegraph/pkg/errcode
  548. github.com/sourcegraph/thesrc/api
  549. github.com/sourcegraph/thesrc/app
  550. github.com/sourcegraph/vcsstore/server
  551. github.com/spencercdixon/buffalo
  552. github.com/spreadshirt/mattermost-server/web
  553. github.com/spuranam/trifles/mpush
  554. github.com/squishyent/go-restful/examples
  555. github.com/srt32/buffalo
  556. github.com/stackdocker/cloudfoundry-broker-kubernetes-docker/api
  557. github.com/stgraber/juju/apiserver
  558. github.com/straumur/straumur
  559. github.com/stuart-warren/go-restful/examples
  560. github.com/studygolang/sander/logic
  561. github.com/studygolang/studygolang/src/logic
  562. github.com/stunndard/lobster
  563. github.com/stunndard/lobster/core/support
  564. github.com/subuk/vmango/src/vmango/handlers
  565. github.com/sunfmin/batchbuy
  566. github.com/supar/mbmi-go
  567. github.com/tbellembois/gochimitheque/global
  568. github.com/tbellembois/gopicluster/handlers
  569. github.com/tbellembois/gowebskel/handlers
  570. github.com/tehleach/go-restful/examples
  571. github.com/theplant/gmo
  572. github.com/thoughtquery/devops22/server
  573. github.com/tim-online/go-afas-profit-rest
  574. github.com/tim-online/go-exactonline/system
  575. github.com/tim-online/go-exactonline/utils
  576. github.com/tim-online/go-invoicexpress
  577. github.com/tim-online/go-unit4-multivers
  578. github.com/timtadh/cc-survey/models
  579. github.com/timtadh/cc-survey/views
  580. github.com/tintinnabulate/register
  581. github.com/tintinnabulate/registration-webapp
  582. github.com/tj/auth/dev
  583. github.com/tj/auth/password
  584. github.com/topher200/forty-thieves/handlers
  585. github.com/topher200/forty-thieves/webcmd/handlers
  586. github.com/tortuoise/fiandsri
  587. github.com/tortuoise/wattwerks
  588. github.com/trendmicro/gop
  589. github.com/turnkey-commerce/go-ping-sites/controllers
  590. github.com/ubccr/denssweb/app
  591. github.com/ubccr/denssweb/server
  592. github.com/ubccr/mokey
  593. github.com/unee-t/inspectionreportgenerator
  594. github.com/utronframework/todo/controllers
  595. github.com/uvelichitel/nezabu/go.graf
  596. github.com/uvelichitel/nezabu/go.graf/example
  597. github.com/vanhtuan0409/kuropi
  598. github.com/vikstrous/go-restful/examples
  599. github.com/vimdude/go-restful/examples
  600. github.com/vincentfiestada/mercury
  601. github.com/volatiletech/authboss-sample
  602. github.com/wallyworld/juju-snap/apiserver
  603. github.com/wallyworld/juju/apiserver
  604. github.com/wanghe4096/go-restful/examples
  605. github.com/wangyibin/echoswg
  606. github.com/wangyibin/gonext
  607. github.com/wawandco/gontact/handlers
  608. github.com/wcl48/go-api-generation-sample/templates
  609. github.com/wejick/mattermost-server/web
  610. github.com/wisedog/ladybug
  611. github.com/wisedog/ladybug/interfacer
  612. github.com/wolfeidau/assembly/api
  613. github.com/wolfeidau/authinator/api
  614. github.com/wolfeidau/proxy-auth
  615. github.com/wongak/go-restful/examples
  616. github.com/writeas/Read.as
  617. github.com/writeas/writefreely
  618. github.com/wuub/go-restful/examples
  619. github.com/wvdeutekom/GoQuotes/api
  620. github.com/xjdrew/goweb/app/controllers
  621. github.com/yargevad/httpin
  622. github.com/yb7/echoswg
  623. github.com/yb7/gonext
  624. github.com/yeqown/gweb/middleware
  625. github.com/yeqown/gweb/utils
  626. github.com/yhagio/jiji/controllers
  627. github.com/yubing24/das/controller/util
  628. github.com/zach-klippenstein/goregen-demo
  629. github.com/zdebeer99/webapp
  630. github.com/zdebeer99/weblib
  631. github.com/zedio/zedlist/modules/forms
  632. github.com/zenithar/api/utils
  633. github.com/zethra/Name-Tag-Auto-Printing-Go/src
  634. github.com/zhymin77/go-restful/examples
  635. github.com/zmalik/eremetic/server
  636. github.com/zond/goaeoas
  637. github.com/zykzhang/practice/pacpackge/gorilla-schema
  638. gopkg.in/Nainterceptor/go-restful.v1/examples
  639. gopkg.in/emicklei/go-restful.v1/examples
  640. gopkg.in/evq/go-restful.v1/examples
  641. gopkg.in/goanywhere/web.v0/form
  642. gopkg.in/jabong/go-restful.v1/examples
  643. gopkg.in/jimmy-go/srest.v0
  644. sourcegraph.com/sourcegraph/sourcegraph/app/internal/schemautil
  645. sourcegraph.com/sourcegraph/sourcegraph/errcode
  646. sourcegraph.com/sourcegraph/sourcegraph/httpapi
  647. sourcegraph.com/sourcegraph/sourcegraph/pkg/errcode
  648. sourcegraph.com/sourcegraph/sourcegraph/pkg/handlerutil
  649. sourcegraph.com/sourcegraph/sourcegraph/ui
  650. sourcegraph.com/sourcegraph/sourcegraph/util/errcode
  651. sourcegraph.com/sourcegraph/sourcegraph/util/handlerutil
  652. sourcegraph.com/sourcegraph/thesrc/api
  653. sourcegraph.com/sourcegraph/thesrc/app
  654. sourcegraph.com/sourcegraph/vcsstore/server
  655. src.sourcegraph.com/apps/tracker
  656. src.sourcegraph.com/sourcegraph/app/internal/schemautil
  657. src.sourcegraph.com/sourcegraph/errcode
  658. src.sourcegraph.com/sourcegraph/httpapi
  659. src.sourcegraph.com/sourcegraph/ui
  660. src.sourcegraph.com/sourcegraph/util/handlerutil

Imported only in test by 7 package(s)

  1. github.com/PuerkitoBio/httpparms
  2. github.com/advanderveer/go-httpio
  3. github.com/keegancsmith/go-sourcegraph/sourcegraph
  4. github.com/marciol/go-sourcegraph/sourcegraph
  5. github.com/mna/httpparms
  6. github.com/rande/gonode/modules/api
  7. github.com/salsita/go-sprintly/sprintly