Back to

Package model

Latest Go to latest

The latest major version is .

Published: 1 day ago | License: MIT | Module:


type File

type File struct {
	ID          int    `json:"id"`
	Name        string `json:"name"`
	Content     string `json:"content"`
	ContentType string `json:"contentType"`

The `File` type, represents the response of uploading a file.

type UploadFile

type UploadFile struct {
	ID   int            `json:"id"`
	File graphql.Upload `json:"file"`

The `UploadFile` type, represents the request for uploading a file with certain payload.

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier