Guys,
Goweb v2 BETA is ready for use. We've rewritten it from the ground up taking all our learning from developing Go in production for the past year. For the next two weeks, we'll be watching the Github issues like hawks, ready to jump on any issues you have, or answer any questions that arise. You can switch your Goweb 1 projects over with only a few code tweaks here and there, and it's well worth doing.
Improvements include:
- Drastically improved path matching
- Cleaner interface for responding (e.g.
goweb.API.RespondWithData, and goweb.Respond.WithRedirect) - More control over standard response object for API responses
- Cleaner RESTful interface design
- Default OPTIONS implementation that informs clients what methods the controller exposes
- Much easier to write testable code
- Better package structure
- Modular design, making adding new stuff easy
- Handler mechanism to easily add pre and post handlers to certain requests
- Uses stretchrcom/codecs package allowing better support for multiple formats
- Better error management
- Performance improvements
We look forward to any questions or comments you have.
Regards,
Mat Ryer
Goweb founder