Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardottt committed Jul 30, 2023
1 parent 4b70d89 commit d04576d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</p>
<p align="center">
<a href="https://github.com/edoardottt/golazy/actions">
<img src="https://github.com/edoardottt/golazy/actions/workflows/go.yml/badge.svg" alt="workflows" />
<img src="https://github.com/edoardottt/golazy/actions/workflows/go.yml/badge.svg" alt="workflows" />
</a>
<a href="https://pkg.go.dev/github.com/edoardottt/golazy"><img src="https://pkg.go.dev/badge/github.com/edoardottt/golazy.svg" alt="Go Reference"></a>
</p>
Expand All @@ -15,14 +15,15 @@
```
go get github.com/edoardottt/golazy
```

<br>

| 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) |
Expand Down

0 comments on commit d04576d

Please sign in to comment.