dao

package
v0.0.0-...-8eb85c2 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clear

func Clear() error

Clear deletes all Twoots. Only used for tests.

func Create

func Create(t *pb.Twoot) (*pb.Twoot, error)

Create creates a Twoot.

func Get

func Get(id string) (*pb.Twoot, error)

Get retrieves a Twoot by ID.

func List

func List() (*[]*pb.Twoot, error)

List returns all Twoots.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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