Remove NewSecret function and related import from helpers.go
This commit is contained in:
@@ -7,8 +7,6 @@ import (
|
||||
"strconv"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/AlexxIT/go2rtc/internal/app"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -91,7 +89,3 @@ func StripUserinfo(s string) string {
|
||||
sanitizer := regexp.MustCompile(`://[` + userinfo + `]+@`)
|
||||
return sanitizer.ReplaceAllString(s, `://***@`)
|
||||
}
|
||||
|
||||
func NewSecret(name string, defaultValues interface{}) (*app.Secret, error) {
|
||||
return app.NewSecret(name, defaultValues)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user