shared

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

func (*Error) GetCode

func (o *Error) GetCode() int

func (*Error) GetMessage

func (o *Error) GetMessage() string

type Pet

type Pet struct {
	ID   int64   `json:"id"`
	Name string  `json:"name"`
	Tag  *string `json:"tag,omitempty"`
}

func (*Pet) GetID

func (o *Pet) GetID() int64

func (*Pet) GetName

func (o *Pet) GetName() string

func (*Pet) GetTag

func (o *Pet) GetTag() *string

Jump to

Keyboard shortcuts

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