top

Package utron is a lightweight MVC framework for building fast, scalable and robust web applications

example hello world in utron

type Hello struct {
	*BaseController
}

func (h *Hello) World() {
	h.Ctx.Write([]byte("hello world"))
	h.String(http.StatusOK)
}

Imports 11 package(s) ΒΆ

  1. github.com/jinzhu/gorm
  2. github.com/mattn/go-sqlite3
  3. github.com/lib/pq
  4. github.com/fatih/camelcase
  5. github.com/go-sql-driver/mysql
  6. github.com/gernest/ita
  7. github.com/BurntSushi/toml
  8. github.com/gorilla/mux
  9. gopkg.in/yaml.v2
  10. github.com/gorilla/context
  11. github.com/justinas/alice