test program

This commit is contained in:
lordwelch 2017-10-26 17:57:51 -06:00
parent d9a94cc254
commit 8c11f0c6d6

View File

@ -37,8 +37,8 @@ func main() {
file2, err2 := os.OpenFile("test", os.O_WRONLY|os.O_CREATE, os.ModePerm)
fmt.Println(err)
fmt.Println(err2)
binary.Write(file, binary.LittleEndian, test[:])
binary.Write(file2, binary.LittleEndian, test[:])
binary.Write(file, binary.BigEndian, test[:])
binary.Write(file2, binary.BigEndian, test[:])
file.Close()
file2.Close()
}