cargo

package
v0.0.0-...-eebf476 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2021 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Tables string = `` /* 2063-byte string literal not displayed */

Functions

func Now

func Now() time.Time

func Open

func Open(conn string, tables string) (*sql.DB, error)

func Resolve

func Resolve(conn string) (string, error)

func Wrap

func Wrap(conn string) string

Types

type Hold

type Hold struct {
	Store *sql.DB
}

func New

func New(conn string) (*Hold, error)

func (*Hold) NewCrate

func (self *Hold) NewCrate(crateType string) (model.Entity, error)

func (*Hold) NewRepo

func (self *Hold) NewRepo(repoType string) (repo.Entity, error)

func (*Hold) NewTag

func (self *Hold) NewTag() (*model.Tag, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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