I am getting this error: panic: runtime error: invalid memory address or nil pointer dereference
I am facing a problem in the methods that I want to resolve. The error occurs when I’m attempting to execute a method AmountInsertion() on a struct MyTotalAmount. MyTotalAmount embeds another struct MyDatabase, which implements the inter.Database interface.