import:
import "github.com/arispen/drunktext/drunktext"
and use:
pass the input text and "soberPercentage" (1-100) int
100 -means sober
1 -means barely conscious :)
drunktext.MakeDrunk("yesterday I went to the park with my son and my dog", 70)
results in:
uesrereay i went gl yje park wutj mh son and my sog