On Thu, 1 Dec 2022 18:21:37 +0800 Glen Huang <hey....@gmail.com> wrote:
> > Whats wrong with const? > > Const is the ideal choice, but how do users of my program specify the > path when they compile it? > They can't, but in Go, I am leaning to prefer where user can set the "prefix" when running the program rather than statically set when compile time. The const become default, when the prefix is not set from CLI or any input. -- 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/20221201184729.1adad640%40inspiro.localdomain.
pgpjWKYrfZnTz.pgp
Description: OpenPGP digital signature