model

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2022 License: MIT Imports: 0 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	Msg string `json:"msg"`
}

func (Error) Error

func (r Error) Error() string

type ExampleRequest

type ExampleRequest struct {
	Text string `json:"text"`
}

type ExampleResponse

type ExampleResponse struct {
	Hello string `json:"hello"`
	Error *Error `json:"err"`
}

func (ExampleResponse) Err

func (r ExampleResponse) Err() error

Jump to

Keyboard shortcuts

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