This commit is contained in:
2025-03-11 01:32:08 +02:00
commit d1163ec629
4 changed files with 108 additions and 0 deletions

23
main.go Normal file
View File

@@ -0,0 +1,23 @@
package main
import (
"fmt"
"github.com/rdarius/boot-dev-blog-aggregator/internal/config"
"log"
)
func main() {
cfg, err := config.Read()
if err != nil {
log.Fatal(err)
}
cfg.SetUser()
cfg2, err := config.Read()
if err != nil {
log.Fatal(err)
}
fmt.Printf("%v\n", cfg2)
}