Very EASY & SIMPLE to use Input Libary for GO

Installation

$ cd my-project
$ go get github.com/monkylovesfauci/[email protected]

Example Usage

package main

import (
  "fmt"

  "github.com/monkylovesfauci/input-go"
)

func main() {
  name := input.String("Enter Name: ")
  age, errAge := input.Int("Enter Age: ")
  if errAge != nil {
    panic(errAge)
  }

  fmt.Printf("Hello %v!\nYou are %v years old!\n", name, age)
}

GitHub

View Github