schema

package
v1.6.6-beta15 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewService

func NewService(repo Repository) core.SchemaService

Types

type Repository

type Repository interface {
	Upsert(ctx context.Context, schema string) (core.Schema, error)
	Get(ctx context.Context, id uint) (core.Schema, error)
}

func NewRepository

func NewRepository(db *gorm.DB) Repository

Jump to

Keyboard shortcuts

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