database

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteByID

func DeleteByID(id string) int

func FindAll

func FindAll() ([]models.Person, error)

func FindById

func FindById(id string) (models.Person, error)

func PatchById

func PatchById(id string, newData models.PatchRequest) (models.Person, error)

func Post

func Post(p models.PostRequest) (string, error)

func Shutdown added in v1.1.0

func Shutdown()

func Start

func Start()

Types

type DBData

type DBData struct {
	ID  string `json:"id"`
	DBB []byte `json:"dbb"`
}

Jump to

Keyboard shortcuts

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