From d04576d19c5013b629074a2271a3915ea5ded5dc Mon Sep 17 00:00:00 2001 From: edoardottt Date: Sun, 30 Jul 2023 10:09:36 +0200 Subject: [PATCH] update --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 997f3b9..47e4f4d 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@

- workflows + workflows Go Reference

@@ -15,14 +15,15 @@ ``` go get github.com/edoardottt/golazy ``` +
-| Name | Description | +| Name | Description | | ----- | ------ | | [ScanInputStdin() []string](https://github.com/edoardottt/golazy/blob/main/golazy.go#L39) | It returns the array of elements taken as input on stdin. | | [RemoveDuplicateStrings(strSlice []string) []string](https://github.com/edoardottt/golazy/blob/main/golazy.go#L55) | It removes duplicates from a slice of strings taken as input and returns the result | | [RemoveDuplicateInts(intSlice []int) []int](https://github.com/edoardottt/golazy/blob/main/golazy.go#L69) | It removes duplicates from a slice of integers taken as input and returns the result | -| [RemoveDuplicateFloats(floatSlice []float64) []float64](https://github.com/edoardottt/golazy/blob/main/golazy.go#L83) | It removes duplicates from a slice of floats taken as input and returns the result | +| [RemoveDuplicateFloats(floatSlice []float64) []float64](https://github.com/edoardottt/golazy/blob/main/golazy.go#L83) | It removes duplicates from a slice of floats taken as input and returns the result | | [AppendOutputToTxt(output string, filename string)](https://github.com/edoardottt/golazy/blob/main/golazy.go#L97) | It tries to append the output string in the file "filename" taken as input. | | [AppendOutputToTxtAndExit(output string, filename string)](https://github.com/edoardottt/golazy/blob/main/golazy.go#L111) | It appends the output string in the file "filename" taken as input, but if it encounters an error it logs it and exits. | | [GetHost(input string) (string, error)](https://github.com/edoardottt/golazy/blob/main/golazy.go#L129) | It takes as input a string and tries to parse it as url, if it's a well formatted url it returns the host (the domain if you prefer) |