(value string)
| 930 | } |
| 931 | |
| 932 | func optionalStringPtr(value string) *string { |
| 933 | trimmed := strings.TrimSpace(value) |
| 934 | if trimmed == "" { |
| 935 | return nil |
| 936 | } |
| 937 | return &trimmed |
| 938 | } |
| 939 | |
| 940 | func stringPtrValue(value *string) string { |
| 941 | if value == nil { |
no outgoing calls
no test coverage detected