ywanbing / gotuna

GoTuna - Web framework for Go

Home Page:https://gotuna.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PkgGoDev Tests Status Go Report Card Go Report Card

GoTuna - Web framework for Go

Please visit https://gotuna.org for the latest documentation, examples, and more.

Features

  • Router (gorilla)
  • Standard http.Handler interface
  • Middleware support
  • User session management (gorilla)
  • Session flash messages
  • Native view rendering (html/template) with helpers
  • Static file server included with the configurable prefix
  • Standard logger interface
  • Request logging and panic recovery
  • Full support for embedded templates and static files
  • User authentication (via user provider interface)
  • Sample InMemory user provider included
  • Multi-language support
  • Database agnostic

Requirements

  • Make sure you have Go >= 1.16 installed

Testing

go test -race -v ./...

Running examples

go run examples/fullapp/cmd/main.go

External dependencies

External modules are mostly used when the feature is too complex to build or maintain - Router, Secure cookies

TODO

  • Validation (input/forms)
  • Cache

Licence

This project is licensed under the MIT License.

About

GoTuna - Web framework for Go

https://gotuna.org

License:MIT License


Languages

Language:Go 99.6%Language:Shell 0.4%