WIP need to re-do modules I think.
This commit is contained in:
parent
5cbb5c9fe8
commit
333007ec72
|
@ -9,8 +9,9 @@ Don't use the Go version yet. If you want something stable, there is a [Ruby ver
|
||||||
# TODO
|
# TODO
|
||||||
|
|
||||||
- [ ] Finish http://go-database-sql.org/nulls.html
|
- [ ] Finish http://go-database-sql.org/nulls.html
|
||||||
|
- [ ] Fix go module nonsense. Read a tut or sth https://thenewstack.io/understanding-golang-packages/
|
||||||
- [ ] Add a real testing lib to DRY things up.
|
- [ ] Add a real testing lib to DRY things up.
|
||||||
- [ ] Get a good CI system going? Run tests at PR time, prevent coverage slips, etc..
|
- [ ] Get a good CI system going? Run tests at PR time, provide prebuilt binaries, prevent coverage slips, etc..
|
||||||
- [ ] Finish all the things below:
|
- [ ] Finish all the things below:
|
||||||
|
|
||||||
|Done?|Verb |Noun | Flag / arg 1 | Flag 2 |
|
|Done?|Verb |Noun | Flag / arg 1 | Flag 2 |
|
||||||
|
|
|
@ -11,7 +11,6 @@ var createCmd = &cobra.Command{
|
||||||
Short: "Create various resources (identity, drafts, blob)",
|
Short: "Create various resources (identity, drafts, blob)",
|
||||||
Aliases: []string{"make", "new"},
|
Aliases: []string{"make", "new"},
|
||||||
Run: func(cmd *cobra.Command, args []string) {
|
Run: func(cmd *cobra.Command, args []string) {
|
||||||
fmt.Println("create called")
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -20,7 +19,8 @@ var identityCmd = &cobra.Command{
|
||||||
Short: "Create a new pigeon identity",
|
Short: "Create a new pigeon identity",
|
||||||
Aliases: []string{"id"},
|
Aliases: []string{"id"},
|
||||||
Run: func(cmd *cobra.Command, args []string) {
|
Run: func(cmd *cobra.Command, args []string) {
|
||||||
fmt.Println("create `identity` called")
|
pub, _ := CreateIdentity()
|
||||||
|
fmt.Println(B32Encode(pub))
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue