get5loader
get5loader copied to clipboard
Web-based get5 match management system. Inspired by https://github.com/splewis/get5-web
サンプルのmutation: ```graphql mutation { createMatch( input:{ team1: "78073420-5dea-4404-9d6e-d34974751567" team2: "bc116035-6486-4a1b-94d3-034bb1736e63" serverID: "2a01f723-b408-4e44-9fd9-ed8f41ee0dbb" maxMaps: 1 title: "TEST MATCH" skipVeto: false } ) { id } } ```
標準パッケージ 外部パッケージ(OSSなど) 内部パッケージ の順番にソートする ```go import ( "fmt" "github.com/FlowingSPDG/Got5" "github.com/FlowingSPDG/get5loader/backend/..." )
```go type CheckPermission interface{ CheckMatchEditable(ctx context.Context, match *entity.Match) (bool, error) } type checkPermission struct{} func (cp *checkPermission) CheckMatchEditable() (bool,error) { op, err := g5ctx.GetOperation(ctx) if err != nil { return...