experiment (#12)
Reviewed-on: #12 Co-authored-by: phoenix <kundeng00@pm.me> Co-committed-by: phoenix <kundeng00@pm.me>
This commit is contained in:
+3
-3
@@ -6,7 +6,7 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
"git.kundeng.us/phoenix/sender/models"
|
||||
"git.kundeng.us/phoenix/textsender-models/pkg/config"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -20,11 +20,11 @@ func IsVersionFlagPresent() bool {
|
||||
if *versionFlag {
|
||||
return true
|
||||
} else {
|
||||
return true
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
func ParseConfig(filepath string) (config models.TwiloDetails, success bool) {
|
||||
func ParseConfig(filepath string) (config config.TwiloConfig, success bool) {
|
||||
content, err := os.ReadFile(filepath)
|
||||
|
||||
fmt.Println("Reading config file...")
|
||||
|
||||
Reference in New Issue
Block a user