Я пытаюсь напечатать string с помощью uint64, но никакая комбинация методов strconv, которые я использую, не работает.
log.Println("The amount is: " + strconv.Itoa((charge.Amount)))
Дает мне:
cannot use charge.Amount (type uint64) as type int in argument to strconv.Itoa
Как я могу напечатать этот string?