Skip to content

Commit

Permalink
move config
Browse files Browse the repository at this point in the history
  • Loading branch information
DesSolo committed Mar 8, 2021
1 parent 5762b21 commit 1da9d67
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.0.9
v1.0.10
6 changes: 3 additions & 3 deletions cmd/server/main.go
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
package main

import (
"enigma/config"
"enigma/internal/api"
"enigma/internal/config"
"log"
)

func main() {
config := config.NewSeverConfig()
cfg := config.NewSeverConfig()

if err := api.Run(config); err != nil {
if err := api.Run(cfg); err != nil {
log.Fatal(err)
}
}
2 changes: 1 addition & 1 deletion internal/api/server.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package api

import (
"enigma/config"
"enigma/internal/config"
"enigma/internal/storage"
"fmt"
"log"
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 1da9d67

Please sign in to comment.