namespace

package
v8.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package namespace provides utilities for validating tenant names in a consistent manner across different database systems.

Namespace is a term used to refer to a tenant in the context of the gorm-multitenancy package; it is a unique identifier for a tenant and is equivalent to:

  • PostgreSQL: schema name
  • MySQL: database name

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validate

func Validate(tenantID string) error

Validate validates the tenant name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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