On Sun, Oct 28, 2018 at 2:16 AM T L <tapir....@gmail.com> wrote: > For example, for a constant string with name Version, you can assure it is not blank by using > > var _ = map[bool]int{false: 0, Version != "": 1}
Too complicated. const ( Version = "v1.11" _ = 1 / len(Version) ) -- -j -- 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 https://groups.google.com/d/optout.