gogs.go 365 B

12345678910111213141516171819
  1. // Copyright 2014 The Gogs Authors. All rights reserved.
  2. // Use of this source code is governed by a MIT-style
  3. // license that can be found in the LICENSE file.
  4. package main
  5. import (
  6. "github.com/codegangsta/martini"
  7. "github.com/gogits/gogs/routers"
  8. )
  9. const APP_VER = "0.0.0.0212"
  10. func main() {
  11. m := martini.Classic()
  12. m.Get("/", routers.HomeGet)
  13. m.Run()
  14. }