tests

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const TableNameUser = "users"

Variables

This section is empty.

Functions

This section is empty.

Types

type RouteTest

type RouteTest struct {
	Name string
	Age  *int
	// contains filtered or unexported fields
}

func (*RouteTest) Hello

func (s *RouteTest) Hello(ctx context.Context, a, b int, c *string) (*RouteTest, error)

Create a new item

@Summary		create new item
@Description	create new item
@Tags			TODO_ADD_TAGNAME
@Accept			json
@Produce		json
@Param			a	path		string	true	"A"
@Param			accountId	path		int	true	"AccountId"
@Param			body	body		dto.KubeImageForm	true	"KubeImageForm"
@Success		200		{string}	KubeImageID
@Router			/clusters/{a}/b/{accountId} [post]

type User added in v1.1.0

type User struct {
	Statuses pq.StringArray `gorm:"column:lcassword;type:text" json:"passwo"`
}

User mapped from table <users>

func (*User) TableName added in v1.1.0

func (*User) TableName(namer schema.Namer) string

Jump to

Keyboard shortcuts

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