swag: github.com/swaggo/swag/example/go-module-support/web Index | Files

package web

import "github.com/swaggo/swag/example/go-module-support/web"

Index

Package Files

handler.go

type APIError Uses

type APIError struct {
    ErrorCode    int
    ErrorMessage string
    CreatedAt    time.Time
}

APIError example

type Pet Uses

type Pet struct {
    ID       int `json:"id"`
    Category struct {
        ID   int    `json:"id"`
        Name string `json:"name"`
    }   `json:"category"`
    Name      string   `json:"name"`
    PhotoUrls []string `json:"photoUrls"`
    Tags      []Tag    `json:"tags"`
    Status    string   `json:"status"`
}

Pet example

type Pet2 Uses

type Pet2 struct {
    ID int `json:"id"`
}

Pet2 example

type RevValue Uses

type RevValue struct {
    RevValueBase

    Data int `json:"Data"`
}

RevValue example

type RevValueBase Uses

type RevValueBase struct {
    Status bool `json:"Status"`

    Err int32 `json:"Err"`
}

RevValueBase example

type Tag Uses

type Tag struct {
    ID   int    `json:"id"`
    Name string `json:"name"`
}

Tag example

Package web imports 1 packages (graph). Updated 2019-08-04. Refresh now. Tools for package owners.