helper

package
v0.0.0-...-a4c7aa5 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CastAsNullableInt

func CastAsNullableInt(integerInterface interface{}) int

func CastAsNullableString

func CastAsNullableString(stringValueInterface interface{}) string

func JsonReturn

func JsonReturn(jsonReturn Transaction, responseWriter http.ResponseWriter)

Types

type NullTime

type NullTime struct {
	Value time.Time
	Valid bool
}

func CastToNullableTime

func CastToNullableTime(timeDataInterface interface{}) NullTime

type NullUuid

type NullUuid struct {
	Value uuid.UUID
	Valid bool
}

func CastAsNullableUuid

func CastAsNullableUuid(timeDataInterface interface{}) NullUuid

type Transaction

type Transaction interface {
}

type TransactionBool

type TransactionBool struct {
	Success bool
}

type TransactionResult

type TransactionResult struct {
	Success bool
	Message string
	Data    interface{}
}

Jump to

Keyboard shortcuts

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