utils

package
v0.0.0-...-c8a8185 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Enqueue

func Enqueue(queue *lane.Deque, id interface{}, workFunc func(id interface{}, args ...interface{}) error, args ...interface{}) error

func ReMarshal

func ReMarshal(in, out interface{}) error

ReMarshal is a helper function to map 1 interface to another

func StringSliceContains

func StringSliceContains(s []string, val string) bool

StringSliceContains returns true of the slice contains the string

func Unmarshal

func Unmarshal(content []byte, out interface{}) error

Unmarshal unmarshals json or yaml content to an interface

Types

This section is empty.

Jump to

Keyboard shortcuts

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