util

package
v0.0.0-...-37a2b90 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2020 License: AGPL-3.0 Imports: 9 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllInsertColumns

func GetAllInsertColumns(v interface{}) []string

func GetAllInsertValues

func GetAllInsertValues(v interface{}) []interface{}

func GetInsertValues

func GetInsertValues(v interface{}, fields []string) []interface{}

func GetPublicKey

func GetPublicKey(keyPath string) *rsa.PublicKey

func ToBsonDoc

func ToBsonDoc(v interface{}) (d bson.D, err error)

func ToBsonMap

func ToBsonMap(v interface{}) (d bson.M, err error)

func ToMap

func ToMap(v interface{}) map[string]interface{}

func ToQueryMap

func ToQueryMap(v url.Values) (qm map[string]interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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