Clean up example a little (#89)

## Summary:
I realized:
- it's simpler to avoid the usual `cmd` and just put it all in the same
  directory
- we don't need schema.json since GitHub now posts a schema in SDL
  format

## Test plan:
make lint example


Author: benjaminjkraft

Reviewers: dnerdy, StevenACoffman, aberkan, jvoll, mahtabsabet, MiguelCastillo

Required Reviewers: 

Approved By: dnerdy, StevenACoffman

Checks:  Test (1.17),  Test (1.16),  Test (1.15),  Test (1.14),  Lint,  Test (1.17),  Test (1.16),  Test (1.15),  Test (1.14),  Lint

Pull Request URL: https://github.com/Khan/genqlient/pull/89
This commit is contained in:
Ben Kraft
2021-09-15 10:48:50 -07:00
committed by GitHub
parent 4d2058c617
commit ce079a7e16
9 changed files with 14 additions and 18 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
example:
go generate ./...
go run ./example/cmd/example/main.go
go run ./example
lint:
( cd internal/lint && go build -o golangci-lint github.com/golangci/golangci-lint/cmd/golangci-lint )