or, in a easier way, a full "copy/paste" example of code: package main
import "fmt" const myValueStr = "try" const myValueInt = 12 func main() { fmt.Println("Instruction only to put a breakpoint") } Le jeudi 30 mai 2024 à 10:53:50 UTC+2, Benoît Marguerie a écrit : > Of course! > The code can be really simple like this: > > > *const myValueStr = "try"const myValueInt = 12* > > > > *func DoSomething() { fmt.Println("Instruction only to put a > breakpoint")}* > > > and the result with delve: > > > > > > *(dlv) print %v myValueInt12(dlv) print %v myValueStrCommand failed: could > not find symbol value for myValueStr* > > Benoit > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/c938f107-9bca-4b8e-a10c-f8deef396c87n%40googlegroups.com.