server

package
v0.0.0-...-72481b2 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrTodoIDDoesNotExist = errors.New("todo id does not exist")
)

Functions

func NewServer

func NewServer(queries *sqlc.Queries) *server

Types

type ServerError

type ServerError struct {
	Internal error
	Public   error
}

func (*ServerError) Error

func (e *ServerError) Error() string

Jump to

Keyboard shortcuts

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