Change comments to ‘Default value is []’
This commit is contained in:
parent
796e03648c
commit
1238974274
1 changed files with 1 additions and 0 deletions
1
cors.go
1
cors.go
|
|
@ -13,6 +13,7 @@ type Config struct {
|
|||
AllowAllOrigins bool
|
||||
|
||||
// AllowedOrigins is a list of origins a cross-domain request can be executed from.
|
||||
// Default value is []
|
||||
AllowOrigins []string
|
||||
|
||||
// AllowOriginFunc is a custom function to validate the origin. It take the origin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue