From ec504a1863ae130eff3822e72d3c129b832c7aeb Mon Sep 17 00:00:00 2001 From: Elliott Pardee Date: Sun, 7 Jun 2015 03:59:45 -0400 Subject: [PATCH] Update typeprint.go --- typeprint.go | 17 ----------------- 1 file changed, 17 deletions(-) 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)) - } -}