postgres

package
v0.0.0-...-358476e Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ToDoImpl

type ToDoImpl struct {
	DbUserName string
	DbPassword string
	DbURL      string
	DbName     string
}

func (*ToDoImpl) Create

func (t *ToDoImpl) Create(Text string, Done bool) (*string, error)

func (*ToDoImpl) Delete

func (t *ToDoImpl) Delete(id string) (*string, error)

func (*ToDoImpl) Get

func (t *ToDoImpl) Get(id string) (*todo.ToDoItem, error)

func (*ToDoImpl) GetAll

func (t *ToDoImpl) GetAll() ([]todo.ToDoItem, error)

func (*ToDoImpl) Initialise

func (t *ToDoImpl) Initialise() error

func (*ToDoImpl) Update

func (t *ToDoImpl) Update(id string, Text string, Done bool) error

Jump to

Keyboard shortcuts

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