convert

package
v0.0.0-...-ca0f7d1 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSQLNullString

func NewSQLNullString(s string) null.String

NewSQLNullString return sql.NullString with value, if string is not empty

func NewSQLNullTime

func NewSQLNullTime(t time.Time) null.Time

NewSQLNullTime return sql.NewSQLNullTime with value, if time is not zero

func NewStringPointer

func NewStringPointer(s string) *string

NewStringPointer return pointer to string, if it is not empty

func NewTimePointer

func NewTimePointer(t time.Time) *time.Time

NewStringPointer return pointer to time, if it is not zero time

Types

This section is empty.

Jump to

Keyboard shortcuts

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