contracts

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2023 License: MIT Imports: 2 Imported by: 37

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpRoute added in v1.0.3

type HttpRoute interface{}

type HttpService added in v1.0.2

type HttpService interface {
	Serve() error
	GetEngine() interface{}
}

type Initial

type Initial interface{}

type MicroService added in v1.0.2

type MicroService interface {
	Serve() error
	GetEngine() any
}

type Migration

type Migration interface {
	ID() string
	Up(tx *gorm.DB) error
	Down(tx *gorm.DB) error
}

Migration route interface

type MigrationProvider

type MigrationProvider func() Migration

type Seeder

type Seeder interface {
	Run(*gofakeit.Faker, *gorm.DB)
}

Migration route interface

type SeederProvider

type SeederProvider func() Seeder

Jump to

Keyboard shortcuts

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