mirror of
https://github.com/go-gitea/gitea
synced 2024-10-31 23:34:25 +00:00
Init commit
This commit is contained in:
parent
38422805dc
commit
4836fea876
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
gogs
|
||||
*.exe
|
||||
*.exe~
|
18
README.md
18
README.md
@ -1,4 +1,16 @@
|
||||
gogs
|
||||
====
|
||||
Gogs - Go Git Service
|
||||
=====================
|
||||
|
||||
Go Git Service
|
||||
Gogs(Go Git Service) is a GitHub-like clone in the Go Programming Language.
|
||||
|
||||
## Purpose
|
||||
|
||||
There are some very good products in this category such as [gitlab](http://gitlab.com), but the environment setup steps often make us crazy. So our goal of Gogs is to build a GitHub-like clone with very easy setup steps, which take advantages of the Go Programming Language.
|
||||
|
||||
## Acknowledgments
|
||||
|
||||
- Logo inspired by [martini](https://github.com/martini-contrib).
|
||||
|
||||
## Contributors
|
||||
|
||||
This project was launched by [Unknown](https://github.com/Unknwon) and [lunny](https://github.com/lunny). See [contributors page](https://github.com/gogits/gogs/graphs/contributors) for full list of contributors.
|
16
bee.json
Normal file
16
bee.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"version": 0,
|
||||
"gopm": {
|
||||
"enable": false,
|
||||
"install": false
|
||||
},
|
||||
"go_install": true,
|
||||
"watch_ext": [],
|
||||
"dir_structure": {
|
||||
"controllers": "routers",
|
||||
"models": "",
|
||||
"others": []
|
||||
},
|
||||
"cmd_args": [],
|
||||
"envs": []
|
||||
}
|
1
conf/app.ini
Normal file
1
conf/app.ini
Normal file
@ -0,0 +1 @@
|
||||
APP_NAME = Go Git Service
|
19
gogs.go
Normal file
19
gogs.go
Normal file
@ -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()
|
||||
}
|
5
models/models.go
Normal file
5
models/models.go
Normal file
@ -0,0 +1,5 @@
|
||||
// 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 models
|
9
routers/home.go
Normal file
9
routers/home.go
Normal file
@ -0,0 +1,9 @@
|
||||
// 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 routers
|
||||
|
||||
func HomeGet() string {
|
||||
return "Hello world!"
|
||||
}
|
Loading…
Reference in New Issue
Block a user