Inspired by: https://knowyourmeme.com/memes/mocking-spongebob
I actually don't know if it is called like that but suit yourself ๐
This tool will convert strings like this ...
This will definitely build my reputation as a software developer
... into this
THIs Will Definitely bUIld mY RepUTaTiOn AS a soFtWaRe deVelOPER
You can either download prebuild executables from the Releases tab.
echo "This will definitely build my reputation as a software developer" | spongecase
spongecase "This will definitely build my reputation as a software developer"
go get github.com/FabianTe/spongecase
package main
import (
"fmt"
"github.com/FabianTe/spongecase"
"math/rand"
"time"
)
func main() {
rand.Seed(time.Now().UTC().UnixNano())
fmt.Println(spongecase.ApplyStr("This will definitely build my reputation as a software developer"))
}
Hint: if you want different/random results (similar to the behavior of the command line version), you need to set a seed with rand.Seed
first (as shown in the example).