api

package
v0.0.0-...-be31693 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteSQLsFromDir

func ExecuteSQLsFromDir(dir string, conn *pgxpool.Pool, purpose string) error

ExecuteSQLsFromDir ディレクトリ内のSQLファイルを昇順にソートして実行する

func PostGraphQLRequest

func PostGraphQLRequest(query Query, server *echo.Echo) ([]byte, error)

Types

type Query

type Query struct {
	// contains filtered or unexported fields
}

func NewQuery

func NewQuery(query string) Query

func (Query) RequestBody

func (q Query) RequestBody() io.Reader

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL