benchmarks

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StatusEnum

type StatusEnum uint8
const (
	StatusActive StatusEnum = iota + 1
	StatusDisabled
)

func (StatusEnum) String

func (s StatusEnum) String() string

func (StatusEnum) Value

func (s StatusEnum) Value() uint8

type User

type User struct {
	ID       int64
	Name     string
	Status   StatusEnum
	Score    int
	IsOnline bool
}

func (*User) ComputeFields

func (u *User) ComputeFields()

func (*User) GetID

func (u *User) GetID() int64

Jump to

Keyboard shortcuts

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