main.go   A
last analyzed

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
cc 2
eloc 10
dl 0
loc 15
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A main.main 0 2 1
A main.init 0 3 1
1
package main
2
3
import (
4
	"github.com/SerhiiCho/shoshka-go/cmd"
5
	"github.com/SerhiiCho/shoshka-go/utils"
6
	"github.com/joho/godotenv"
7
)
8
9
func init() {
10
	err := godotenv.Load()
11
	utils.HandleError(err, "Error loading .env file")
12
}
13
14
func main() {
15
	cmd.Execute()
16
}
17