repository

package
v0.0.0-...-a2093d6 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: LGPL-2.1 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitTestRepository

func InitTestRepository()

Types

type TestRepository

type TestRepository interface {
	Register(ctx context.Context, test *entity.Test) error
}

TestRepository 只暴露接口, 具体实现在init中初始化, 如使用mongo

func GetTestRepository

func GetTestRepository() TestRepository

Directories

Path Synopsis
impl

Jump to

Keyboard shortcuts

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