From 333007ec726051255db4df8ada3d0d4dd879062b Mon Sep 17 00:00:00 2001 From: Rick Carlino Date: Tue, 1 Sep 2020 07:52:44 -0500 Subject: [PATCH] WIP need to re-do modules I think. --- README.md | 3 ++- pigeon/create.go | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8fb45a3..77e40f1 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,9 @@ Don't use the Go version yet. If you want something stable, there is a [Ruby ver # TODO - [ ] 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. - - [ ] 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: |Done?|Verb |Noun | Flag / arg 1 | Flag 2 | diff --git a/pigeon/create.go b/pigeon/create.go index 288477b..9f399e6 100644 --- a/pigeon/create.go +++ b/pigeon/create.go @@ -11,7 +11,6 @@ var createCmd = &cobra.Command{ Short: "Create various resources (identity, drafts, blob)", Aliases: []string{"make", "new"}, 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", Aliases: []string{"id"}, Run: func(cmd *cobra.Command, args []string) { - fmt.Println("create `identity` called") + pub, _ := CreateIdentity() + fmt.Println(B32Encode(pub)) }, }