TextWithLang is the Value that represents a combination of two strings: - text on some natural language (i.e., "hello") - name of that language (i.e., "en") Use with: TagTextLang, TagNameLang
| 590 | // |
| 591 | // Use with: TagTextLang, TagNameLang |
| 592 | type TextWithLang struct { |
| 593 | Lang, Text string // Language and text |
| 594 | } |
| 595 | |
| 596 | // String converts TextWithLang value to string |
| 597 | func (v TextWithLang) String() string { return v.Text + " [" + v.Lang + "]" } |
nothing calls this directly
no outgoing calls
no test coverage detected