Skip to content

Instantly share code, notes, and snippets.

@VictoriaRaymond
VictoriaRaymond / frpc.ini
Last active October 29, 2018 11:15
Benchmark test for reverse proxy
[common]
server_addr = <server_ip>
server_port = 7000
[web]
type = http
local_port = 80
custom_domains = www.v2ray.com
@VictoriaRaymond
VictoriaRaymond / test.md
Last active September 9, 2018 05:02
Force check to return error instead of allowing customized logic

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 {