Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: Kotaro Inoue <k.musaino@gmail.com>
  • Loading branch information
musaprg committed Jan 15, 2023
1 parent 69a918d commit b41716c
Show file tree
Hide file tree
Showing 15 changed files with 15,296 additions and 12 deletions.
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
epgstation/api.gen.go: epgstation/schema.json
oapi-codegen -package epgstation schema/schema.json > epgstation/api.gen.go

.PHONY: go-generate
go-generate:
go generate ./...

.PHONY: generate
generate: epgstation/api.gen.go go-generate

3 changes: 3 additions & 0 deletions annict/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package annict

//go:generate go run github.com/Khan/genqlient genqlient.yaml
84 changes: 84 additions & 0 deletions annict/generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions annict/genqlient.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
schema: schema.graphql
operations:
- query.graphql
generated: generated.go
package: annict

bindings:
DateTime:
type: time.Time
9 changes: 9 additions & 0 deletions annict/query.graphql
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
query GetWannaWatchWorks {
viewer {
works(state: WANNA_WATCH){
nodes {
title
}
}
}
}
Loading

0 comments on commit b41716c

Please sign in to comment.