Created
September 23, 2019 06:16
-
-
Save ridhoperdana/d66c3773f895b342155dcca3f48f2df9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package graphql | |
import "github.com/graphql-go/graphql" | |
type Resolver interface { | |
FetchArticle(params graphql.ResolveParams) (interface{}, error) | |
GetArticleByID(params graphql.ResolveParams) (interface{}, error) | |
GetArticleByTitle(params graphql.ResolveParams) (interface{}, error) | |
UpdateArticle(params graphql.ResolveParams) (interface{}, error) | |
StoreArticle(params graphql.ResolveParams) (interface{}, error) | |
DeleteArticle(params graphql.ResolveParams) (interface{}, error) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment