GraphQL

/app/gql/methods.go (222 B)

 1
2
3
4
5
6
7
8
9
10
11
12
// $PF_GENERATE_ONCE$
package gql

import "context"

func (s *Schema) Hello(ctx context.Context) (string, error) {
return "Howdy!", nil
}

func (s *Schema) Poke(ctx context.Context) (string, error) {
return "OK!", nil
}