Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/inuoshios/utils
🐈 https://pkg.go.dev/github.com/inuoshios/utils
https://github.com/inuoshios/utils
golang golang-package input python
Last synced: about 1 month ago
JSON representation
🐈 https://pkg.go.dev/github.com/inuoshios/utils
- Host: GitHub
- URL: https://github.com/inuoshios/utils
- Owner: inuoshios
- License: mit
- Created: 2022-12-10T13:19:12.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-02T12:36:50.000Z (about 2 years ago)
- Last Synced: 2024-10-15T01:26:47.028Z (3 months ago)
- Topics: golang, golang-package, input, python
- Language: Go
- Homepage:
- Size: 5.86 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Utils
Utils is a package created for handling input in the terminal. It's similar to the `input()` function in Python.
### Installation
You can install the package using the command below
```bash
go get github.com/inuoshios/utils
```### Import the package
```go
import "github.com/inuoshios/utils"
```### Example
```go
package mainimport "fmt"
func main() {
// print out my github usernameghUsername := utils.Input("GH Username")
fmt.Printf("Welcome %s", ghUsername)
// Prints: Welcome {the ghUsername you inputed}
}
```### Contributions
PRs are accepted. You can also create a new issue if necessary.