TimothyYe / godns

A dynamic DNS client tool that supports AliDNS, Cloudflare, Google Domains, DNSPod, HE.net & DuckDNS & DreamHost, etc, written in Go.
https://timothyye.github.io/godns/
Apache License 2.0
1.51k stars 224 forks source link

why display Error occurs while unmarshal config file? #28

Closed poppy7921 closed 5 years ago

poppy7921 commented 5 years ago

GoDNS V1.6 Error occurs while unmarshal config file, please make sure config file correct! invalid character '"' after object key:value pair --------config.json--------- { "provider": "Cloudflare", "email": "xxxx@gmail.com" "password": "xxxx261db6a66eff0f9ca8ee94c86e78dxxxx", "domains": [{ "domain_name": "xxxx.net", "sub_domains": ["my"] }], "ip_url": "https://ifconfig.co/ip", "socks5_proxy": "" }

TimothyYe commented 5 years ago

"email": "xxxx@gmail.com" should be "email": "xxxx@gmail.com",

poppy7921 commented 5 years ago

Sorry,I am careless, it's good now, thank you!

Septrum101 commented 5 years ago

"email": "xxxx@gmail.com" should be "email": "xxxx@gmail.com",

It seem that the example is missed the ",".

TimothyYe commented 5 years ago

Updated, thanks!