util

package
v0.0.0-...-01347ba Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Json

func Json(rawJson map[string]interface{}) *bytes.Buffer

Types

type HttpResponse

type HttpResponse struct {
	Code int
	Body map[string]interface{}
}

func HttpRequest

func HttpRequest(router *gin.Engine, method string, url string, body map[string]interface{}) HttpResponse

type TestDB

type TestDB struct {
	URL *dburl.URL
	// contains filtered or unexported fields
}

func NewTestDB

func NewTestDB() *TestDB

func (*TestDB) Shutdown

func (tdb *TestDB) Shutdown(fatal bool)

Jump to

Keyboard shortcuts

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