aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorBiSaXa <1669855+BiSaXa@users.noreply.github.com>2022-08-28 18:46:20 +0300
committerBiSaXa <1669855+BiSaXa@users.noreply.github.com>2022-08-28 18:46:20 +0300
commitbb3801544a0ed1f47c7074649c81f638b48d2f25 (patch)
tree055d5fc4cb71d980686dc5e45925c0f6185a1541 /main.go
parentUpdate and rename go-windows-amd64.yml to CI.yml (diff)
downloadsdp.go-bb3801544a0ed1f47c7074649c81f638b48d2f25.tar.gz
sdp.go-bb3801544a0ed1f47c7074649c81f638b48d2f25.tar.bz2
sdp.go-bb3801544a0ed1f47c7074649c81f638b48d2f25.zip
module name and other changes
Diffstat (limited to 'main.go')
-rw-r--r--main.go16
1 files changed, 14 insertions, 2 deletions
diff --git a/main.go b/main.go
index 7978414..d1053af 100644
--- a/main.go
+++ b/main.go
@@ -5,11 +5,23 @@ import (
5 "io/ioutil" 5 "io/ioutil"
6 "log" 6 "log"
7 "os" 7 "os"
8 "parser/messages" 8
9 "parser/utils" 9 "github.com/bisaxa/demoparser/messages"
10 "github.com/bisaxa/demoparser/utils"
10) 11)
11 12
12func main() { 13func main() {
14 /*var arr []byte = make([]byte, 4)
15 arr[0] = 200
16 arr[1] = 10
17 fmt.Printf("%b\n", arr[0])
18 for _, s := range arr {
19 fmt.Printf("Value: %d - Binary : %b\n", s, s)
20 }
21 state := utils.ReadBitsFromReversedByteArray1(arr)
22 value := utils.ReadBitsFromReversedByteArray32(arr, 9)
23 fmt.Println(state)
24 fmt.Printf("Value: %d - Binary : %b\n", value, value)*/
13 if len(os.Args) != 2 { 25 if len(os.Args) != 2 {
14 log.Fatal("Specify file in command line arguments.") 26 log.Fatal("Specify file in command line arguments.")
15 } 27 }