entities

package
v0.0.0-...-dabf9ce Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entity

type Entity interface {
	ObjectId() string
}

type Shortcut

type Shortcut struct {
	Id     string
	Url    string
	UserId string
}

func NewShortcut

func NewShortcut(
	id string,
	url string,
	userId string,
) *Shortcut

func (Shortcut) ObjectId

func (s Shortcut) ObjectId() string

type User

type User struct {
	Id       string
	Username string
	Password string
}

Jump to

Keyboard shortcuts

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