namespace

package
v0.0.0-...-31ad618 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: Unlicense Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Namespace

type Namespace string

func New

func New(db rowQuery, namespaceStr string) (Namespace, int, error)

New will return the namespace id, creating it if necessary

func (Namespace) Create

func (n Namespace) Create(db rowQuery) (int, error)

func (Namespace) ID

func (n Namespace) ID(db rowQuery) (int, error)

ID returns the namespace, querying the database if necessary

Jump to

Keyboard shortcuts

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