1
0
Fork 0

Describe basic structs

This commit is contained in:
Gregory Eremin 2015-01-10 19:30:53 +07:00
parent 76c9272388
commit aa03775146
3 changed files with 34 additions and 0 deletions

14
steward/commit.go Normal file
View File

@ -0,0 +1,14 @@
package steward
import (
"time"
)
type (
Commit struct {
Repo string
Sha1 string
Author string
Timestamp time.Time
}
)

8
steward/config.go Normal file
View File

@ -0,0 +1,8 @@
package steward
type (
Config struct {
GithubClientID string
GithubSecret string
}
)

12
steward/state.go Normal file
View File

@ -0,0 +1,12 @@
package steward
import (
"time"
)
type (
State struct {
Sha1 string
Timestamp time.Time
}
)