Describe basic structs
This commit is contained in:
parent
76c9272388
commit
aa03775146
|
@ -0,0 +1,14 @@
|
|||
package steward
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
type (
|
||||
Commit struct {
|
||||
Repo string
|
||||
Sha1 string
|
||||
Author string
|
||||
Timestamp time.Time
|
||||
}
|
||||
)
|
|
@ -0,0 +1,8 @@
|
|||
package steward
|
||||
|
||||
type (
|
||||
Config struct {
|
||||
GithubClientID string
|
||||
GithubSecret string
|
||||
}
|
||||
)
|
|
@ -0,0 +1,12 @@
|
|||
package steward
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
type (
|
||||
State struct {
|
||||
Sha1 string
|
||||
Timestamp time.Time
|
||||
}
|
||||
)
|
Loading…
Reference in New Issue