FromBase, used if Convert==true, is used as {{Varname}} = {{FromBase}}(tmp)
()
| 752 | |
| 753 | // FromBase, used if Convert==true, is used as {{Varname}} = {{FromBase}}(tmp) |
| 754 | func (s *BaseElem) FromBase() string { |
| 755 | if s.ShimFromBase != "" { |
| 756 | return s.ShimFromBase |
| 757 | } |
| 758 | return s.TypeName() |
| 759 | } |
| 760 | |
| 761 | // BaseName returns the string form of the |
| 762 | // base type (e.g. Float64, Ident, etc) |