database

package
v0.0.0-...-4ec33cd Latest Latest
Warning

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

Go to latest
Published: May 19, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Filename        string `kong:"required,default=./data/data.db"`
	SchemaDirectory string `kong:",default=./schema"`
}

func (Config) Build

func (c Config) Build(ctx context.Context) (*sql.DB, error)

Jump to

Keyboard shortcuts

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