package
0.0.0-20200526015148-b343531734ec
Repository: https://github.com/fakorede/learning-golang.git
Documentation: pkg.go.dev
# README
Banger
Explanation
This program uses the strings
standard library to manipulate strings passed when running it from the terminal.
The os.Args
function is used to accept the argument.
The strings.Repeat
function repeats the '!' based on the length of the passed argument.
strings.ToUpper
converts the result to uppercase.
Usage
go run main.go string
string can be anything here e.g. hey, hello, e.t.c