Help us shape the future of Go! Take the 2026 Go Developer Survey

response

package
v1.0.26 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IResponse

type IResponse interface {
	GetRowsAffected() int
	GetData() interface{}
	GetError() error
	GetErrorExceptNotFound() error
}

func NewResponse

func NewResponse(rowsAffected int64, err error, data interface{}) IResponse

type Response

type Response struct {
	// contains filtered or unexported fields
}

func (*Response) GetData

func (r *Response) GetData() interface{}

func (*Response) GetError

func (r *Response) GetError() error

func (*Response) GetErrorExceptNotFound

func (r *Response) GetErrorExceptNotFound() error

func (*Response) GetRowsAffected

func (r *Response) GetRowsAffected() int

Jump to

Keyboard shortcuts

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