| 1 | package template |
|---|---|
| 2 | |
| 3 | // Test in which replacement has a different type. |
| 4 | |
| 5 | const shouldFail = "int is not a safe replacement for string" |
| 6 | |
| 7 | func before() interface{} { return "three" } |
| 8 | func after() interface{} { return 3 } |
| 9 |
Members
| 1 | package template |
|---|---|
| 2 | |
| 3 | // Test in which replacement has a different type. |
| 4 | |
| 5 | const shouldFail = "int is not a safe replacement for string" |
| 6 | |
| 7 | func before() interface{} { return "three" } |
| 8 | func after() interface{} { return 3 } |
| 9 |