Refine runtime.GOOS check, use switch case to replace a long if
author Sherlock Holo
()
committer Sherlock Holo
()
commit 4c0cae7111bd771ff4a19d27fb37ddd2f0aab38d
tree f6b6419b54c64f23e48bf4a232623af9351b94db
parent 95fe3e3b4e8707ca39b7939d8105b762747489a5
Refine runtime.GOOS check, use switch case to replace a long if
doh-client/main.go
doh-server/main.go