String implements fmt.Stringer.String. It should only be used for logs, debugging, etc. Any caller that requires a specific output format should use FormatAs() instead.
()
| 157 | // debugging, etc. Any caller that requires a specific output format should use |
| 158 | // FormatAs() instead. |
| 159 | func (v Value) String() string { |
| 160 | return fmt.Sprintf("%s: %s", v.Type(), v.Encode(nil)) |
| 161 | } |
| 162 | |
| 163 | // Encode appends the BSUP representation of this value to the passed in |
| 164 | // argument and returns the resulting scode.Bytes (which may or may not |