Package martini is a powerful package for quickly writing modular web applications/services in Golang. Env is the environment that Martini is executing in. The MARTINI_ENV is read on initialization to set this variable. BeforeFunc is a function that is called before the ResponseWriter has been written to. ClassicMartini represents a Martini with some reasonable defaults. Embeds the router functions for convenience. Classic creates a classic Martini with some basic default middleware - martini.Logger, martini.Recovery and martini.Static. Classic also maps martini.Routes as a service. Context represents a request context. Services can be mapped on the request level from this interface. Handler can be any callable function. Martini attempts to inject services into the handler's argument list. Martini will panic if an argument could not be fullfilled via dependency injection.

Features

  • Extremely simple to use
  • Non-intrusive design
  • Plays nice with other Golang packages
  • Awesome path matching and routing
  • Modular design, easy to add functionality, easy to rip stuff out
  • Lots of good handlers/middlewares to use
  • Great 'out of the box' feature set

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Martini

Martini Web Site

Other Useful Business Software
AestheticsPro Medical Spa Software Icon
AestheticsPro Medical Spa Software

Our new software release will dramatically improve your medspa business performance while enhancing the customer experience

AestheticsPro is the most complete Aesthetics Software on the market today. HIPAA Cloud Compliant with electronic charting, integrated POS, targeted marketing and results driven reporting; AestheticsPro delivers the tools you need to manage your medical spa business. It is our mission To Provide an All-in-One Cutting Edge Software to the Aesthetics Industry.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Martini!

Additional Project Details

Operating Systems

Windows

Programming Language

Go

Related Categories

Go Frameworks, Go Web Development Frameworks

Registered

2021-05-20