From 686e60d127dc0c01eb8fd085dfc26e9012af8785 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ege=20Balc=C4=B1?= Date: Mon, 23 Nov 2020 00:34:41 +0300 Subject: [PATCH] Go lib version updates --- README.md | 2 +- go.mod | 10 +++++----- go.sum | 25 +++++++++++++------------ main.go | 2 +- {lib => pkg}/decode.go | 0 {lib => pkg}/encode.go | 0 {lib => pkg}/instructions.go | 0 {lib => pkg}/obfuscate.go | 0 {lib => pkg}/sgn.go | 0 9 files changed, 20 insertions(+), 19 deletions(-) rename {lib => pkg}/decode.go (100%) rename {lib => pkg}/encode.go (100%) rename {lib => pkg}/instructions.go (100%) rename {lib => pkg}/obfuscate.go (100%) rename {lib => pkg}/sgn.go (100%) diff --git a/README.md b/README.md index c6eb237..6741d0c 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ You can get the pre-compiled binaries [HERE](https://github.com/EgeBalci/sgn/rel The only dependency for building the source is the [keystone engine](https://github.com/keystone-engine/keystone), follow [these](https://github.com/keystone-engine/keystone/blob/master/docs/COMPILE.md) instructions for installing the library. Once libkeystone is installed on the system, simply just go get it ツ ``` -go get github.com/egebalci/sgn +go get github.com/EgeBalci/sgn ``` ***DOCKER INSTALL*** diff --git a/go.mod b/go.mod index 029925c..9c8f03f 100644 --- a/go.mod +++ b/go.mod @@ -1,10 +1,10 @@ -module github.com/egebalci/sgn +module github.com/EgeBalci/sgn -go 1.13 +go 1.15 require ( - github.com/EgeBalci/keystone-go v0.0.0-20191020215946-e413e564d55a - github.com/briandowns/spinner v1.9.0 - github.com/fatih/color v1.9.0 + github.com/EgeBalci/keystone-go v0.0.0-20200525180613-e6c7cd32ceae + github.com/briandowns/spinner v1.11.1 + github.com/fatih/color v1.10.0 github.com/olekukonko/tablewriter v0.0.4 ) diff --git a/go.sum b/go.sum index 965f44c..424d3d3 100644 --- a/go.sum +++ b/go.sum @@ -1,20 +1,21 @@ -github.com/EgeBalci/keystone-go v0.0.0-20191020215946-e413e564d55a h1:f7foeXv2svlJU0ihmcKbR+bln5fcF1nbGyoJ4PBRznc= -github.com/EgeBalci/keystone-go v0.0.0-20191020215946-e413e564d55a/go.mod h1:/HCfOmUN3INldcXC0YnFrOtOw3MuRFEQ9cKTT5fZuQ8= -github.com/briandowns/spinner v1.9.0 h1:+OMAisemaHar1hjuJ3Z2hIvNhQl9Y7GLPWUwwz2Pxo8= -github.com/briandowns/spinner v1.9.0/go.mod h1://Zf9tMcxfRUA36V23M6YGEAv+kECGfvpnLTnb8n4XQ= +github.com/EgeBalci/keystone-go v0.0.0-20200525180613-e6c7cd32ceae h1:IMOEVXYMrzHg+1oWgTYBEwzMGsxFHUgoreu2Ic62K7Q= +github.com/EgeBalci/keystone-go v0.0.0-20200525180613-e6c7cd32ceae/go.mod h1:/HCfOmUN3INldcXC0YnFrOtOw3MuRFEQ9cKTT5fZuQ8= +github.com/briandowns/spinner v1.11.1 h1:OixPqDEcX3juo5AjQZAnFPbeUA0jvkp2qzB5gOZJ/L0= +github.com/briandowns/spinner v1.11.1/go.mod h1:QOuQk7x+EaDASo80FEXwlwiA+j/PPIcX3FScO+3/ZPQ= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= -github.com/fatih/color v1.9.0 h1:8xPHl4/q1VyqGIPif1F+1V3Y3lSmrq01EabUW3CoW5s= -github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= +github.com/fatih/color v1.10.0 h1:s36xzo75JdqLaaWoiEHk767eHiwo0598uUxyfiPkDsg= +github.com/fatih/color v1.10.0/go.mod h1:ELkj/draVOlAH/xkhN6mQ50Qd0MPOk5AAr3maGEBuJM= github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= -github.com/mattn/go-colorable v0.1.4 h1:snbPLB8fVfU9iwbbo30TPtbLRzwWu6aJS6Xh4eaaviA= -github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= +github.com/mattn/go-colorable v0.1.8 h1:c1ghPdyEDarC70ftn0y+A/Ee++9zz8ljHG1b13eJ0s8= +github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= -github.com/mattn/go-isatty v0.0.11 h1:FxPOTFNqGkuDUGi3H/qkUbQO4ZiBa2brKq5r0l8TGeM= -github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE= +github.com/mattn/go-isatty v0.0.12 h1:wuysRhFDzyxgEmMf5xjvJ2M9dZoWAXNNr5LSBS7uHXY= +github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= github.com/mattn/go-runewidth v0.0.7 h1:Ei8KR0497xHyKJPAv59M1dkC+rOZCMBJ+t3fZ+twI54= github.com/mattn/go-runewidth v0.0.7/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= github.com/olekukonko/tablewriter v0.0.4 h1:vHD/YYe1Wolo78koG299f7V/VAS08c6IpCLn+Ejf/w8= github.com/olekukonko/tablewriter v0.0.4/go.mod h1:zq6QwlOf5SlnkVbMSr5EoBv3636FWnp+qbPhuoO21uA= golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20191026070338-33540a1f6037 h1:YyJpGZS1sBuBCzLAR1VEpK193GlqGZbnPFnPV/5Rsb4= -golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae h1:/WDfKMnPU+m5M4xB+6x4kaepxRw6jWvR5iDRdvjHgy8= +golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= diff --git a/main.go b/main.go index d65f374..93c2d2f 100644 --- a/main.go +++ b/main.go @@ -15,8 +15,8 @@ import ( "time" "unicode" + sgn "github.com/EgeBalci/sgn/pkg" "github.com/briandowns/spinner" - sgn "github.com/egebalci/sgn/lib" "github.com/fatih/color" ) diff --git a/lib/decode.go b/pkg/decode.go similarity index 100% rename from lib/decode.go rename to pkg/decode.go diff --git a/lib/encode.go b/pkg/encode.go similarity index 100% rename from lib/encode.go rename to pkg/encode.go diff --git a/lib/instructions.go b/pkg/instructions.go similarity index 100% rename from lib/instructions.go rename to pkg/instructions.go diff --git a/lib/obfuscate.go b/pkg/obfuscate.go similarity index 100% rename from lib/obfuscate.go rename to pkg/obfuscate.go diff --git a/lib/sgn.go b/pkg/sgn.go similarity index 100% rename from lib/sgn.go rename to pkg/sgn.go