$ git clone https://github.com/wlswo/Subscribing-to-Ethereum-Event-Logs-in-GoLang.git
$ cd config/
$ touch config.toml
[Goerli]
apikey = "wss://goerli.infura.io/ws/v3/{발급한 Api Key}"
[log]
level = "debug" # debug or info
fpath = "./logs/go-loger" # 로그가 생성될 경로 : ./logs, 로그파일명 go-loger_xxx.log
msize = 2000 # 2g : megabytes
mage = 7 # 7days
mbackup = 5 # number of log files
[ContractAddress]
ca = "{감지할 스마트 컨트랙트 주소}"
$ cd ../
$ go run main.go