I have RESTFUL web service in Golang and I'm using it's SQL driver for database. my question is should I use SQL functions with context as parameter or without it? For instance, there are both QueryContext
and Query
methods.
Actually I do know what is the context in Go, I just don't know why I should send it to the database methods.