module
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Jul 27, 2026
License: MIT
Opens a new window with license information.
README
ΒΆ
gos1mple
A lightweight Go library that simplifies console applications.
β¨ Features
- π₯ Easy input functions
- π Fuctions for text
- and more (coming soon)
π¦ Installation
go get github.com/goldchell-bra7/gos1mple@latest
or
go get github.com/goldchell-bra7/gos1mple@v0.2.0
π Usage
package main
import (
"fmt"
"github.com/goldchell-bra7/gos1mple/input"
)
func main() {
age := input.ReadInt("Age: ")
fmt.Println(age)
}
π API
| Function |
Description |
ReadInt() |
Read integer |
ReadIntln() |
Read integer with prompt on new line |
ReadFloat() |
Read float64 |
ReadFloatln() |
Read float64 with prompt on new line |
ReadString() |
Read string |
ReadStringln() |
Read string with prompt on new line |
ReadBool() |
Read bool |
ReadBoolln() |
Read bool with prompt on new line |
Text
| Function |
Description |
Header() |
Places your text in a frame |
Separator() |
Inserts a separator |
π License
MIT
Directories
ΒΆ
examples
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.