diff --git a/typeprint.go b/typeprint.go index 89e90e8..8b13789 100644 --- a/typeprint.go +++ b/typeprint.go @@ -1,18 +1 @@ -package main -import ( - "fmt" - "time" -) - -func typeprint(s string) { - for _, j := range s { - if string(j) == "\n" { - fmt.Printf("\n") - } else { - fmt.Printf("%c", j) - } - - time.Sleep(time.Millisecond * time.Duration(10)) - } -}