Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 main

import "fmt"

func main() {
// print out my github username

ghUsername := 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.