Lines Matching defs:String
24 func PropertyNameForField(fieldName string) string {
26 propertyName := string(unicode.ToLower(r))
33 func FieldNameForProperty(propertyName string) string {
35 fieldName := string(unicode.ToUpper(r))
42 func HasTag(field reflect.StructField, name, value string) bool {
58 // StringPtr returns a pointer to a new string containing the given value.
59 func StringPtr(s string) *string {
72 // String takes a pointer to a string and returns the value of the string if the pointer is non-nil,
73 // or an empty string.
74 func String(s *string) string {