The next thing to do is to boil this down to a standalone test case in the golang playground.
Are you saying the template is not being expanded correctly at line 155? https://github.com/ali2210/WizDwarf/blob/master/main.go#L155 Are you sure the value of LifeCode is what you expect? Try printing it at that point. If it is, then write a small program which sets LifeCode to that fixed value, and expands the template. If that works, then you know the problem is somewhere else. If it doesn't work, then you know the problem is with template expansion and someone can help you debug it, because they have the code in the go playground where they can easily edit and test it. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/9186d5ba-daf6-4660-afa2-1f0b94267283o%40googlegroups.com.