user

package
v2.0.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCreateCommand

func NewCreateCommand() *cobra.Command

func NewQRCommand

func NewQRCommand() *cobra.Command

func NewRootCommand

func NewRootCommand() *cobra.Command

Types

type CreateUserDTO

type CreateUserDTO struct {
	Username string `json:"username,omitempty" validate:"required,min=3,max=254"`
	Email    string `json:"email,omitempty" validate:"required,email,min=3,max=254"`
	Password string `json:"password,omitempty" validate:"required,min=8,max=64"`
}

Jump to

Keyboard shortcuts

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