aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--commands/new.go2
-rw-r--r--graphql/handler.go2
-rw-r--r--graphql/schema.go2
3 files changed, 3 insertions, 3 deletions
diff --git a/commands/new.go b/commands/new.go
index fde944e9..09369fe4 100644
--- a/commands/new.go
+++ b/commands/new.go
@@ -55,7 +55,7 @@ func runNewBug(cmd *cobra.Command, args []string) error {
err = newBug.Commit(repo)
- fmt.Println(newBug.HumanId())
+ fmt.Printf("%s created\n", newBug.HumanId())
return err
diff --git a/graphql/handler.go b/graphql/handler.go
index 4843fff9..7dbb7a0f 100644
--- a/graphql/handler.go
+++ b/graphql/handler.go
@@ -3,7 +3,7 @@ package graphql
import "github.com/graphql-go/handler"
func NewHandler() (*handler.Handler, error) {
- schema, err := graphqlSchema()
+ schema, err := newGraphqlSchema()
if err != nil {
return nil, err
diff --git a/graphql/schema.go b/graphql/schema.go
index f8fb9768..e929fb44 100644
--- a/graphql/schema.go
+++ b/graphql/schema.go
@@ -2,7 +2,7 @@ package graphql
import "github.com/graphql-go/graphql"
-func graphqlSchema() (graphql.Schema, error) {
+func newGraphqlSchema() (graphql.Schema, error) {
rootQuery := graphql.ObjectConfig{
Name: "RootQuery",