Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateUUIDV4 ¶
func GenerateUUIDV6 ¶
func GenerateUUIDV7 ¶
func PrettyJSON ¶
Types ¶
type Delta ¶
type Delta struct { Value int Operation DeltaOperation }
func NewDeltaFromString ¶
func (*Delta) ExecuteOperation ¶
type DeltaOperation ¶
type DeltaOperation string
const ( DeltaOperationAdd DeltaOperation = "+" DeltaOperationSub DeltaOperation = "-" DeltaOperationMul DeltaOperation = "*" DeltaOperationDiv DeltaOperation = "/" )
func (DeltaOperation) Execute ¶
func (d DeltaOperation) Execute(first, second int) int
Source Files ¶
Click to show internal directories.
Click to hide internal directories.