persistance

package
v0.0.0-...-1edb202 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func List

func List(dbFile string) (pkgs []core.Package, err error)

func Save

func Save(dbFile string, pkg core.Package) (err error)

Types

type PackageORM

type PackageORM struct {
	CreatedAt time.Time
	UpdatedAt time.Time
	Name      string `gorm:"primarykey"`
	Alias     string
	URL       string
}

Jump to

Keyboard shortcuts

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