home.social

#golangdev — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #golangdev, aggregated by home.social.

  1. Any #golangdev out there have suggestions for a terminal UI library? Have been using promptui on a project and it’s fine, but unmaintained for several years. Ideally looking for something with autocomplete support but it’s not a hard req

  2. Any #golangdev out there have suggestions for a terminal UI library? Have been using promptui on a project and it’s fine, but unmaintained for several years. Ideally looking for something with autocomplete support but it’s not a hard req

  3. ok #golang / #golangdev newbie time.

    What is the right way to set the *string types value of stuff.Thing in this: go.dev/play/p/4ReG0f--v6N

    To deal with an issue with null values in the json -> struct -> form -> db flow, I had to shift the fields in my structs to be pointers... and now I can't work out how to easily add values to them?

  4. ok #golang / #golangdev newbie time.

    What is the right way to set the *string types value of stuff.Thing in this: go.dev/play/p/4ReG0f--v6N

    To deal with an issue with null values in the json -> struct -> form -> db flow, I had to shift the fields in my structs to be pointers... and now I can't work out how to easily add values to them?