vendoring dependencies

This commit is contained in:
ngtuna
2016-06-30 22:47:32 +07:00
parent 9bdc4cf2dd
commit 5dd2cf81bf
1317 changed files with 463670 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
package ansiterm
import (
"strconv"
)
func sliceContains(bytes []byte, b byte) bool {
for _, v := range bytes {
if v == b {
return true
}
}
return false
}
func convertBytesToInteger(bytes []byte) int {
s := string(bytes)
i, _ := strconv.Atoi(s)
return i
}