utils

package
v0.0.0-...-26c1479 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(s []string, e string) bool

Contains checks if a string exists in a slice.

func Log

func Log(verbose bool, format string, a ...interface{})

Log writes a msg to the console.

func ParseFormString

func ParseFormString(s string) (map[string]interface{}, error)

ParseFormString takes a form-encoded string and it turns it into a usable set of parameters that an application can consume. These parameters use "Rack-style" conventions for encoding complex types like arrays and maps.

Types

This section is empty.

Jump to

Keyboard shortcuts

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