util

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(slice []string, element string) bool

Contains returns true if a given slice contains a given element

func ParseOwnerAndRepository

func ParseOwnerAndRepository(input string) (string, string, error)

ParseOwnerAndRepository parses a combination of owner and repository into the components

func SortSlice

func SortSlice(s []string)

SortSlice sorts a given slice

Types

This section is empty.

Jump to

Keyboard shortcuts

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