Describe basic structs

This commit is contained in:
2015-01-10 19:30:53 +07:00
parent 76c9272388
commit aa03775146
3 changed files with 34 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
package steward
import (
"time"
)
type (
Commit struct {
Repo string
Sha1 string
Author string
Timestamp time.Time
}
)
+8
View File
@@ -0,0 +1,8 @@
package steward
type (
Config struct {
GithubClientID string
GithubSecret string
}
)
+12
View File
@@ -0,0 +1,12 @@
package steward
import (
"time"
)
type (
State struct {
Sha1 string
Timestamp time.Time
}
)