softbase

package module
v0.0.0-...-1c8b040 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "0.0.1"

Functions

func HasDatabase

func HasDatabase() bool

func LoadDatabase

func LoadDatabase() *core.Store

Types

type SoftBase

type SoftBase struct {
	RootCmd *cobra.Command
	DB      *core.Store
}

func New

func New(db *core.Store) *SoftBase

func (*SoftBase) Execute

func (sb *SoftBase) Execute() error

func (*SoftBase) Start

func (sb *SoftBase) Start(commands ...*cobra.Command) error

Directories

Path Synopsis
examples

Jump to

Keyboard shortcuts

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