Saturday, September 27, 2025
HomeGolangProtection for deamon - Getting Assist

Protection for deamon – Getting Assist


Hello,
I’m making an attempt to make protection for a daemon. when constructing I’m utilizing -cover .
is there any method to dump ( like gcov_flush in GCC) or terminate gracefully as a way to get protection?

Protection profiling assist for integration checks – The Go Programming Language

Sorry, the hyperlink I offered appears not serving to, perhaps GoLang not assist this characteristic at present. We will open a proposal to debate this subject with GoLang neighborhood if you would like.

Yeah, that may be good choice to debate with the neighborhood.
additionally I discovered GitHub – qiniu/goc: A Complete Protection Testing System for The Go Programming Language
didn’t mange to get it to work but, however do you suppose it would?

In keeping with the doc [1], I feel that perhaps the device that you just want.

[1] Goc can gather code coverages at runtime to your long-run golang functions.

I simply tried the goc device, it appears works high quality. In case you bought caught, be at liberty to speak to me.

Hey,
I additionally managed to get it to work. Thanks.

Nevertheless it’s inflicting me new subject, as a result of It forces me to construct with goc. and I cant put the goc on my compilation machine. is there a method to modify the output binaries the use the goc? or another concepts?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments