TestBaseConfig

package
v5.1.30 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func GetConfig

func GetConfig(t *testing.T, mark string)

获取某组配置项目

func SetConfig

func SetConfig(t *testing.T, params SetParamsType)

修改某组配置项目

Types

type SetParams2Type

type SetParams2Type struct {
	Mark  string      `json:"mark"`
	Value interface{} `json:"value"`
}

type SetParamsType

type SetParamsType struct {
	Data []SetParams2Type `json:"data"`
}

Jump to

Keyboard shortcuts

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