Go REST Server Library v2.14.0 released

It contains two changes.

The parts of a request path are now retrievable via Job.Part(index int) string.

ResouceHandlers now can have methods better matching to REST than the standard methods. The mapping is

  • POST to Create()
  • GET to Read()
  • PUT to Update()
  • PATCH to Modify()
  • DELETE to Delete()
  • OPTION to Info()

In case of a handler implementing both, e.g. Get() and Read(), the standard one will be taken. So here Get() due to the HTTP GET.

More about the project at PROJECTS → Go REST Server Library.

comments powered by Disqus