what’s the best way to get a string from an stringOutput? I only see
// Helpers for accessing properties are not yet available in Go.
in the docs
06/12/2020, 10:31 PM
That doc message is for lifted property access which wouldn't help get the raw string value.
Typically you never access the raw value inside of an output unless from within an Apply call. Apply is almost always the answer in these scenarios: https://www.pulumi.com/docs/intro/concepts/programming-model/#apply
There is an exception for testing where you can use channels to get the outputs, but can cause big problems if you try to do it in a production app.
If you give more details on what you're trying to accomplish I can try to point you in the right direction.