Package utron is a lightweight MVC framework for building fast, scalable and robust web applications Utron is built with focus of composability. This means, you can reap all the benefit of using utron while maintaining harmony with existing libraries and frameworks. * Session management * Middleware support * Data acess( Relational database) * Logging * Templates (views) * Configuration * Static content serving There are many frameworks out there, you might be wondering why do we need yet another framework?. We probably don't.. Utron is just a summary of the tools, and techniques I use to develop web applications in Go. This includes the best libraries, and the best organization of the code base. Utron has one of the very handy Controller( you will see more details in the controller section) * gorilla/mux: for http routing. * gorilla/session: for session management * gorm: for object relationl mapping. In all of my web application I noticed that, keeping global state brings a lot of complexities to the application, so uttron avoids this. utron applicatio is a simple struct that you can play around with in whatever way that you find suits you.
Package beego provide a MVC framework beego: an open-source, high-performance, modular, full-stack web framework It is used for rapid development of RESTful APIs, web apps and backend services in Go. beego is inspired by Tornado, Sinatra and Flask with the added benefit of some Go-specific features such as interfaces and struct embedding. more information: http://beego.me
Package utron is a lightweight MVC framework for building fast, scalable and robust web applications example hello world in utron
Package MVC provides a lightweight, testable and efficient Model-View-Controller framework. The main features are testable controllers, session support, parameterised routes and support for a Haml-like template language. The main component is the mvc handler, instantiated like this: Once you have have an MVC handler, you can begin adding routes, which can contained named parameters. Parameters can be specified by surrounding the parameter name with curly brackets, like this: The code above creates a route named 'Hello route'. The route will match requests to '/Hello/...', and will associate the value passed in the URL with a parameter called 'name'. Finally, this route will be handled by a function named GreetingController, which might look like this: The Greeting Controller retrieves the parameter called 'name' and passes it to a Haml template to render to the user. Note that the function returns a mvc.ControllerResult object, which allows us to call this controller method in a test scenario and test the resulting ControllerResult.
Package beego provide a MVC framework beego: an open-source, high-performance, modular, full-stack web framework It is used for rapid development of RESTful APIs, web apps and backend services in Go. beego is inspired by Tornado, Sinatra and Flask with the added benefit of some Go-specific features such as interfaces and struct embedding. more information: http://beego.me
Package beego provide a MVC framework beego: an open-source, high-performance, modular, full-stack web framework It is used for rapid development of RESTful APIs, web apps and backend services in Go. beego is inspired by Tornado, Sinatra and Flask with the added benefit of some Go-specific features such as interfaces and struct embedding. more information: http://beego.me