'Using/setting up user authentication for sqlite3 in golang

I have to make my database password protected as a task in my school. For example if anyone tries to access my database it will ask the password.
I am trying to use go-sqlite3 package and I have tried reading the official guide.
First step is to use go build --tags <FEATURE>.
It gaves me an error build .: cannot find module for path .
I dont know why and what are we building in the first place. I tried searching for practical examples also and didnt found any.

Can you explain to me how I can setup user authentication for my database using the golangs go-sqlite3 package?
Link to the package



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source