db

package
v0.0.0-...-73f1b72 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(personID gocql.UUID, name string, surname string) error

Create

func Delete

func Delete(id gocql.UUID) error

Delete

func Update

func Update(id gocql.UUID, name, surname string) error

Update

Types

type Person

type Person struct {
	ID      gocql.UUID `json: ID`
	Name    string     `json: name`
	Surname string     `json: surname`
}

func Get

func Get(id gocql.UUID) (*Person, error)

Read

Jump to

Keyboard shortcuts

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