Skip to content

Commit

Permalink
Add generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasanaya committed Nov 5, 2019
1 parent 527c55f commit 8bf8a44
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 78 deletions.
46 changes: 10 additions & 36 deletions codegen/testserver/generated.go

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

18 changes: 0 additions & 18 deletions codegen/testserver/resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ import (

type Resolver struct{}

func (r *Resolver) Case1() Case1Resolver {
return &case1Resolver{r}
}
func (r *Resolver) Case2() Case2Resolver {
return &case2Resolver{r}
}
func (r *Resolver) Errors() ErrorsResolver {
return &errorsResolver{r}
}
Expand Down Expand Up @@ -48,18 +42,6 @@ func (r *Resolver) User() UserResolver {
return &userResolver{r}
}

type case1Resolver struct{ *Resolver }

func (r *case1Resolver) ExportedEmbeddedPointerExportedMethod(ctx context.Context, obj *Case1) (string, error) {
panic("not implemented")
}

type case2Resolver struct{ *Resolver }

func (r *case2Resolver) UnexportedEmbeddedPointerExportedMethod(ctx context.Context, obj *Case2) (string, error) {
panic("not implemented")
}

type errorsResolver struct{ *Resolver }

func (r *errorsResolver) A(ctx context.Context, obj *Errors) (*Error, error) {
Expand Down
24 changes: 0 additions & 24 deletions codegen/testserver/stub.go

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

0 comments on commit 8bf8a44

Please sign in to comment.