diff options
Diffstat (limited to 'gogs.go')
-rw-r--r-- | gogs.go | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gogs.go b/gogs.go new file mode 100644 index 00000000..8a4b9e00 --- /dev/null +++ b/gogs.go @@ -0,0 +1,19 @@ +// Copyright 2014 The Gogs Authors. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. + +package main + +import ( + "github.com/codegangsta/martini" + + "github.com/gogits/gogs/routers" +) + +const APP_VER = "0.0.0.0212" + +func main() { + m := martini.Classic() + m.Get("/", routers.HomeGet) + m.Run() +} |