I have 3 files. Database type is defined in db.go file. Methods for it are defined in user.go file in db directory in the same package as db.go file. And methods from users.