refactoring

This commit is contained in:
Chapuis Bertil
2015-08-14 11:17:57 +02:00
parent 1ab2939041
commit 465ef4b493
18 changed files with 361 additions and 369 deletions

17
context.go Normal file
View File

@@ -0,0 +1,17 @@
package main
import ()
// A Context specifies the root directory where all repositories are stored
type Context struct {
path string
}
func NewContext(path string) Context {
return Context{path}
}
// Creates the file structure of the Context
func (c *Context) Init() {
}