utils

package module
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(connectionString string) (*sql.DB, error)

Attempts to connect to the database

Parameters:

  • connectionString: connection string

Returns:

  • Database Connection
  • An error if there is an issue connecting to the databse

func ValidComponents added in v1.0.3

func ValidComponents() []string

Returns a list of valid component names

Parameters:

  • None

Returns:

  • A list of valid component names

func ValidOrigins added in v1.0.3

func ValidOrigins() []string

Returns a list of valid origins

Parameters:

  • None

Returns:

  • A list of valid origins

Types

This section is empty.

Jump to

Keyboard shortcuts

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