// StringWithDefault returns *v if v is not nil. Otherwise it returns d.
StringWithDefault returns *v if v is not nil. Otherwise it returns d.
// StringWithDefault returns * v if v is not nil . Otherwise it returns d .
func StringWithDefault(v *string, d string) string {
	if v == nil {
		return d
	}
	return *v
}
func StringWithDefault ( v * string , d string ) string { if v == nil { return d } return * v }
StringWithDefault returns *v if v is not nil.
StringWithDefault returns * v if v is not nil .