Re: [go-nuts] Conditional compilation in Go ?

2024-08-18 Thread Nagaev Boris
Hi! Regarding 2 yes, conditional compilation is done on file level, via build tags. There are built-in tags for OS and CPU architectures. You can read here about it: https://pkg.go.dev/cmd/go#hdr-Build_constraints Boris On Sun, Aug 18, 2024 at 4:06 PM alex-coder wrote: > > Hi All ! Please advic

[go-nuts] Conditional compilation in Go ?

2024-08-18 Thread alex-coder
Hi All ! Please advice me : 1. Where to see how Go calls or compiles (detects ) the corresponding runtime (windows, linux etc) in Go code. 2. Where to read about and if there is a conditional compilation in Go. Thanks to everyone -- You received this message because you are subscribed to the G