gqlgen: Index | Files

package model

import ""


Package Files


type File Uses

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 Uses

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 model imports 1 packages (graph) and is imported by 4 packages. Updated 2020-03-07. Refresh now. Tools for package owners.