Error in my First API project

cannot use Information.AccountNumber (type uint32) as type string in field value.
This is an error in my code…
strong text database.Model(&Information{}).Where(“AccountNumber=?”, Information.AccountNumber).Updates(Information{AccountBalance: Information.AccountNumber})
The above marked is the line where the error comes.
What shall I do to solve this error…

Sometimes it helps to cast to another format (like AccountNumber::integer)

accNo := strconv.FormatUint(uint64(Information.AccoutNumber), 10)

this will convert the account number to string then you can use it.

Can you please tell which package is used to import models…

Can you please tell which package is used to import models…