This is a response for Go 2 error handling proposal.
The proposed check/handle logic looks strange, as it allows functions to continue in an error condition.
Consider the following example:
func testFunc() error {
var count int
handle err {
[common] | |
server_addr = <server_ip> | |
server_port = 7000 | |
[web] | |
type = http | |
local_port = 80 | |
custom_domains = www.v2ray.com |
This is a response for Go 2 error handling proposal.
The proposed check/handle logic looks strange, as it allows functions to continue in an error condition.
Consider the following example:
func testFunc() error {
var count int
handle err {