Documentation ¶
Overview ¶
see https://stackoverflow.com/questions/8757389/reading-a-file-line-by-line-in-go/16615559#16615559 for openfile code
Index ¶
- func ExtractNumbers(input string) []string
- func FindFirst(input string, tokens []string) (string, int)
- func Intersection[T comparable](a []T, b []T) []T
- func IsNumber(input string) bool
- func MinIntSlice(v []int) (m int)
- func ReadFileLines(inputFile string) ([]string, error)
- func ReplaceStringNumberByDigit(input string) string
- func ToInt(input string) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractNumbers ¶
func Intersection ¶
func Intersection[T comparable](a []T, b []T) []T
func MinIntSlice ¶
func ReadFileLines ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.