tests

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JS

func JS(v any) string

func LoadFile

func LoadFile(t *testing.T, path string) string

func NotSimple

NotSimple correct comment

func NotSimple2

NotSimple2 correct comment

func Simple

Simple correct comment

func Simple2

Simple2 correct comment

func Simple3

Simple3 correct comment

func Simple4

func Simple4() func() int

Simple4 outer comment

Types

type TestInnerResponse

type TestInnerResponse struct {
	FooFoo int `json:"foo_foo"`
	BarBar int `json:"bar_bar"`
}

type TestRequest

type TestRequest struct {
	Foo string `json:"foob"`
	Bar string `json:"barb"`

	TestInnerResponse TestInnerResponse `json:"test_inner_responseb"`
}

type TestResponse

type TestResponse struct {
	Foo string `json:"foo"`
	Bar string `json:"bar"`

	TestInnerResponse TestInnerResponse `json:"test_inner_response"`
}

type TestStruct

type TestStruct struct {
	Foo string `json:"foo"`
	Bar int    `json:"bar"`
}

Jump to

Keyboard shortcuts

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