util

package
v0.6.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Camel

func Camel(input string) string

Camel converts a snake_case string to CamelCase.

func Contains

func Contains(set []string, value string) bool

Contains checks if a value exists in a string slice.

func Filename

func Filename(input string) string

Filename converts a string to a lowercase filename with underscores.

func ListTables

func ListTables(ctx context.Context, config *db.Options) ([]*model.Table, error)

ListTables retrieves all tables from the database.

func Title

func Title(input string) string

Title converts a snake_case string to Title Case with spaces.

Types

This section is empty.

Jump to

Keyboard shortcuts

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