common

package
v0.0.0-...-29fe790 Latest Latest
Warning

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

Go to latest
Published: May 27, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StringInSlice

func StringInSlice(s []string, str string) bool

StringInSlice checks if a string is in the slice

func StringKeyInMap

func StringKeyInMap(m map[string]string, str string) bool

StringKeyInMap checks if a string key is in the map

Types

type MyFlag

type MyFlag struct {
	Help    bool
	Version bool
	SQL     string
}

func (*MyFlag) Init

func (f *MyFlag) Init()

Jump to

Keyboard shortcuts

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