Versions in this module Expand all Collapse all v0 v0.2.0 Apr 5, 2024 Changes in this version + type TgBot struct + func NewTgBot(host string) *TgBot + func (b *TgBot) GetUpdates(ctx context.Context, token string) (string, error) v0.1.0 Feb 16, 2024 Changes in this version + func GenerateUUIDV4() uuid.UUID + func GenerateUUIDV6() uuid.UUID + func GenerateUUIDV7() uuid.UUID + func HashMD5(source string) string + func PrettyJSON(source string) (string, error) + type Delta struct + Operation DeltaOperation + Value int + func DeltaZero() *Delta + func NewDeltaFromString(str string) (*Delta, error) + func (d *Delta) ExecuteOperation(value int) int + type DeltaOperation string + const DeltaOperationAdd + const DeltaOperationDiv + const DeltaOperationMul + const DeltaOperationSub + func (d DeltaOperation) Execute(first, second int) int + type Range struct + From int + To int + func RangeFromString(value string) (*Range, error) + func (r *Range) IsDescending() bool + func (r *Range) Iterate(fn func(int) error) error + func (r *Range) Len() int