Skip to content

Commit

Permalink
Update configs
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmuenzner committed Oct 26, 2024
1 parent be61b1a commit 537d0aa
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/auth_config.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package config

// Add more constants as needed
// Authentication configuration parameter

const (
MinLengthPassword int = 12
Expand Down
2 changes: 2 additions & 0 deletions config/base_config.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package config

// General configuration parameter

const (
URL string = "https://www.example.com"
//http.Server configuration
Expand Down
2 changes: 2 additions & 0 deletions config/database_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ package config

import "go.mongodb.org/mongo-driver/mongo"

// Database configuration parameter

const (
DatabaseNameUserAuth string = "PlantDB"
DatabaseNameFiles string = "PlantDB"
Expand Down
3 changes: 2 additions & 1 deletion config/regex_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ package config

import "regexp"

// Add more regex patterns as needed
// RegEx configuration parameter

type RegexPatterns struct {
Ipv4 *regexp.Regexp
Ipv6 *regexp.Regexp
Expand Down

0 comments on commit 537d0aa

Please sign in to comment.