utils

package
v0.0.0-...-08daa93 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeFromBase64

func DecodeFromBase64(v interface{}, enc string) error

func EncodeToBase64

func EncodeToBase64(v interface{}) (string, error)

func GetEnvWithDefault

func GetEnvWithDefault(key, defaultValue string) string

Types

type Page

type Page struct {
	PageSize   int32
	PageOffset int32
}

func PageFromToken

func PageFromToken(pageToken string) (*Page, error)

func (*Page) GetToken

func (page *Page) GetToken() (string, error)

Jump to

Keyboard shortcuts

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