internal/db/init.go
Function Init
has 10 return statements (exceeds 4 allowed). Open
Open
func Init(atPath string) error {
directory := filepath.Dir(atPath)
filename := filepath.Base(atPath)
fullPath := path.Join(directory, filename)
fullPathInfo, checkFileError := os.Lstat(fullPath)