Skip to content

Commit

Permalink
Merge pull request 99designs#453 from 99designs/deprecate-binary
Browse files Browse the repository at this point in the history
Add Deprecation Warning to Binary
  • Loading branch information
Mathew Byrne authored Nov 28, 2018
2 parents 0b8be84 + c11606c commit e4144e3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
package main

import "github.com/99designs/gqlgen/cmd"
import (
"fmt"
"os"

"github.com/99designs/gqlgen/cmd"
)

func main() {
fmt.Fprintf(os.Stderr, "warning: running gqlgen from this binary is deprecated and may be removed in a future release. See https://github.com/99designs/gqlgen/issues/415\n")
cmd.Execute()
}

0 comments on commit e4144e3

Please sign in to comment.