utils

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SliceAsCommaSentence

func SliceAsCommaSentence(slice []string) string

SliceAsCommaSentence returns string slice as comma separated sentence

func StringInSlice

func StringInSlice(a string, list []string) bool

StringInSlice returns whether string exists in string slice

func ValidateErrorsToString

func ValidateErrorsToString(resErrors []gojsonschema.ResultError) string

ValidateErrorsToString converts errors from JSON schema output into readable string

Types

This section is empty.

Jump to

Keyboard shortcuts

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