commit
0d320825a3
@ -0,0 +1,9 @@
|
|||||||
|
.idea
|
||||||
|
go.sum
|
||||||
|
main.exe
|
||||||
|
server.exe
|
||||||
|
log.txt
|
||||||
|
logs
|
||||||
|
*.log
|
||||||
|
uploads
|
||||||
|
gin.log
|
||||||
@ -0,0 +1,16 @@
|
|||||||
|
module ETHAddress
|
||||||
|
|
||||||
|
go 1.18
|
||||||
|
|
||||||
|
require (
|
||||||
|
github.com/miguelmota/go-ethereum-hdwallet v0.1.1
|
||||||
|
github.com/tyler-smith/go-bip39 v1.1.0
|
||||||
|
)
|
||||||
|
|
||||||
|
require (
|
||||||
|
github.com/btcsuite/btcd v0.21.0-beta // indirect
|
||||||
|
github.com/btcsuite/btcutil v1.0.3-0.20201208143702-a53e38424cce // indirect
|
||||||
|
github.com/ethereum/go-ethereum v1.10.4 // indirect
|
||||||
|
golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2 // indirect
|
||||||
|
golang.org/x/sys v0.0.0-20210420205809-ac73e9fd8988 // indirect
|
||||||
|
)
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
package tests
|
||||||
|
|
||||||
|
import (
|
||||||
|
"testing"
|
||||||
|
)
|
||||||
|
|
||||||
|
//https://studygolang.com/interview/question
|
||||||
|
|
||||||
|
func TestIfcondation(tt *testing.T) {
|
||||||
|
if a := 1; false {
|
||||||
|
} else if b := 2; false {
|
||||||
|
} else {
|
||||||
|
println(a, b)
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in new issue