| 360 | } |
| 361 | |
| 362 | type constOrVarSymbol struct { |
| 363 | sym string |
| 364 | typ string // either "const" or "var" |
| 365 | cast string // if non-empty, a type cast is required (used for enums) |
| 366 | } |
| 367 | |
| 368 | func (cs constOrVarSymbol) GenerateAlias(g *Generator, filename string, pkg GoPackageName) { |
| 369 | v := string(pkg) + "." + cs.sym |
nothing calls this directly
no outgoing calls
no test coverage detected