action

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2026 License: MIT Imports: 15 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrCannotParseSqlcDefinition = errbuilder.New("cannot parse sqlc.definition.yaml file").
	WithHint("Please check the file sqlc.definition.yaml content. It has wrong yaml format.").
	Build()
View Source
var ErrCannotParseSqlcTmpl = errbuilder.New("cannot parse sqlc.tmpl.yaml file").
	WithHint("Please check the file module/storage/sqlc.tmpl.yaml content. It has wrong yaml format.").
	Build()
View Source
var ErrCannotUpdateSqlcConfig = errbuilder.New("cannot update sqlc config").
	WithHint("Some issues occurred when the sql.yaml file is being combined.").
	Build()
View Source
var ErrNoSqlcTmpl = errbuilder.New("sqlc.tmpl.yaml file does not exist").
	WithHint("Please check the if the file module/storage/sqlc.tmpl.yaml exists.").
	Build()
View Source
var ErrSqlcDefinitionFileNotFound = errors.New("project_root/sqlc.definition.yaml file not found")
View Source
var ErrSqlcTemplateFileNotFound = errors.New("module_path/storage/sqlc.tmpl.yaml file not found")

Functions

This section is empty.

Types

type InstallStorage

type InstallStorage struct {
	UpdateSqlcConfig *UpdateSqlcConfig
}

func NewInstallStorage

func NewInstallStorage(config *UpdateSqlcConfig) *InstallStorage

func (*InstallStorage) Install

type InstallStorageTmplVars

type InstallStorageTmplVars struct {
	Config         StorageConfig
	Module         module.ManifestModule
	StoragePackage string
}

type StorageConfig

type StorageConfig struct {
	Schema             string
	GenerateGraphql    bool
	GenerateFixture    bool
	GenerateDataloader bool
	ProjPath           string
}

type UpdateSqlcConfig

type UpdateSqlcConfig struct {
}

func NewUpdateSqlcConfig

func NewUpdateSqlcConfig() *UpdateSqlcConfig

func (*UpdateSqlcConfig) Update

func (c *UpdateSqlcConfig) Update(ctx context.Context, storagePath string, projPath string) error

Jump to

Keyboard shortcuts

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