Changeset 28 in code
- Timestamp:
- Jan 14, 2024, 9:20:04 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cmd/suwako/main.go
r26 r28 33 33 func errCheck(err error) { 34 34 if err != nil { 35 log.Fatal("Something happened :(", err) 35 log.Println("Something happened :(") 36 log.Fatal(err) 36 37 } 37 38 } … … 42 43 return err 43 44 } 44 conf.engine = cfg.Section(" ").Key("engine").String()45 conf.instance = cfg.Section(" ").Key("instance").String()45 conf.engine = cfg.Section("simplytranslate").Key("engine").String() 46 conf.instance = cfg.Section("simplytranslate").Key("instance").String() 46 47 47 48 return nil
Note:
See TracChangeset
for help on using the changeset viewer.