Is there any way in go to do this?
Ideally I'd like to be able to do something like pass the compiler an AST
-> AST function to be run between front and back end compile steps. The
best way I see atm is to do a precompile job that dumps the AST back out to
a different directory and compiles tha
>From the recent GopherCon, golang's profiler has a tool for inspecting
allocations that might solve your problem.
https://youtu.be/2557w0qsDV0?list=PLq2Nv-Sh8EbZEjZdPLaQt1qh_ohZFMDj8&t=526
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To uns
I have a simple example file:
==
package gobbledy_gook
import (
"log"
turtle "github.com/rs/zerolog/log"
"os"
"github.com/rs/zerolog"
)
var LOG = turtle.Logger.Output(os.Stdout).Error()
func g() []zerolog.Logger {
return []zerolog.Logger{}
}
func
The feature I want most in go is automatic reference counting. I don't
really care how mainline GC works but I want the language to be open to the
possibility of ARC-GC. In order for that to be able to handle cycles you
need a weak_ptr type that can requires explicit graduation to a shared_ptr.
Thx, that looks like an interesting paper.
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit http
I'll look into that api and maybe it will solve my problems. Though, to be
understood I'm not asking for ARC, I'm asking for a keyword so the spec is
compatible with ARC.
>
>
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe fro
What I want is a way to say if Test_A fails then don't run Test_B because
it's guaranteed to fail and that just creates noise in the output.
So instinctively I'd like something like annotations for this.
// @DependsOn [ "Test_A" ]
func Test_B(t *testing.T) {
.test stuff
}
https://github