test

package
v0.0.0-...-57ed434 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const BaseConfigPath = "./../../../../config"
View Source
const IssueId100 = int64(100)
View Source
const IssueId1083 = int64(1083)
View Source
const Org1001 = int64(1001)
View Source
const SelfConfigPath = "./../config"
View Source
const User1001 = int64(1001)

Variables

View Source
var SubSvcBaseConfigPath = "./../../../../../config"

用于 service 目录下的单测的配置文件寻址。

View Source
var SubSvcSelfConfigPath = "./../../config"

Functions

func StartUp

func StartUp(f func(ctx context.Context)) func()

func StartUpForSubSvc

func StartUpForSubSvc(f func(ctx context.Context)) func()

用户 service 目录下的包的单元测试

func StartUpWithUserInfo

func StartUpWithUserInfo(f func(userId, orgId int64)) func()

Types

This section is empty.

Jump to

Keyboard shortcuts

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