Skip to content

Commit

Permalink
added got get info to README
Browse files Browse the repository at this point in the history
  • Loading branch information
jagottsicher committed Oct 7, 2022
1 parent 8550419 commit ae62648
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# myGoToolbox
myGoToolbox is package which contains a collection of useful functions and handy tools for recurring tasks in your Go projects

## thousands.go
## Install
```sh
go get github.com/jagottsicher/myGoToolbox
```

### thousands.go
thousands.go mainly consists of the function `Separate()` which adds thousands separators to numbers. It takes two arguments: the number and a language-code you want to use. It returns a string with thousands separators as commonly used in this lang/region. Actually `Separate()` supports English, German and French (intl. recommended) notation. More information about [decimal separators](https://en.wikipedia.org/wiki/Decimal_separator).

English is default/fallback for wrong or missing language code. Feels free to open an issue and request more or other notations.
Expand All @@ -26,5 +31,5 @@ Examples:
// 1 232 323,123456789
```
## terminal.go
### terminal.go
`Clearscreen()` empties the terminal screen independently from the underlying operation system by calling the OS's builtin functions works smootly even on both Windows' cmd.exe and powershell.

0 comments on commit ae62648

Please sign in to comment.