cmd

package
v0.5.8 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: MIT Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JSON

func JSON(v interface{})

func NewFromDatabase added in v0.4.0

func NewFromDatabase(c *DbConfig) (*view.View, error)

func NewGithubClient added in v0.2.2

func NewGithubClient(accessToken string) *github.Client

Types

type DbConfig added in v0.4.0

type DbConfig struct {
	DB               *gorm.DB
	Dialect          string
	DbName           string
	TableNames       []string
	CustomDefineType map[string]string
	view.Config
}

type RootCmd added in v0.4.0

type RootCmd struct {
	// contains filtered or unexported fields
}

func NewRootCmd added in v0.4.0

func NewRootCmd() *RootCmd

func (*RootCmd) Execute added in v0.4.0

func (r *RootCmd) Execute() error

Execute adds all child commands to the root command and sets flags appropriately.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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