Total Lines | 15 |
Duplicated Lines | 0 % |
Changes | 0 |
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 |