sqlc

package module
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: May 8, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Capability = provider.Capability{
	Name:     providerName,
	Category: provider.CategoryDb,
	Module: fx.Module(
		providerName,
		fx.Provide(New),
	),
}

Functions

func New

func New(configProvider provider.Config, logger provider.Logger) (provider.Database, error)

func NewClient

func NewClient(dbFile string) (provider.DbClient, error)

NewClient 从指定的文件创建创建数据库连接

Types

This section is empty.

Jump to

Keyboard shortcuts

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