runtime: only implement CountString for required platforms

This commit is contained in:
Ayke van Laethem
2019-11-10 13:44:48 +01:00
committed by Ron Evans
parent 405c0263b0
commit efafda1d32
4 changed files with 25 additions and 13 deletions
+1
View File
@@ -18,4 +18,5 @@ func main() {
// package strings
fmt.Println("strings.IndexByte:", strings.IndexByte("asdf", 'd'))
fmt.Println("strings.Replace:", strings.Replace("An example string", " ", "-", -1))
}