util

package
v0.0.0-...-3e389c1 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArrayContains

func ArrayContains(array []string, value string, ignoreCase bool) bool

ArrayContains checks a string array for a given string.

func InitFile

func InitFile(path string) (*os.File, error)

InitFile opens a file at the specified path. If that file does not exist, it creates a new one.

func IsURL

func IsURL(test string) bool

IsURL checks the provided string to see if it's a valid URL.

Types

This section is empty.

Jump to

Keyboard shortcuts

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