utils

package
v0.0.0-...-afe3fbd Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ISliceToStrSlice

func ISliceToStrSlice(s []interface{}) (stringSlice []string, err error)

func IntSliceToStrSlice

func IntSliceToStrSlice(s []int) (stringSlice []string)

func JoinIntSlice

func JoinIntSlice(i []int, sep string) string

func StructToJSONMap

func StructToJSONMap(s interface{}) map[string]interface{}

Types

type IDs

type IDs struct {
	Request      string `json:"requestId"`
	Subscription int64  `json:"subscriptionId"`
}

func ParseIDs

func ParseIDs(b []byte) (*IDs, error)

Jump to

Keyboard shortcuts

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