Change comments to ‘Default value is []’
This commit is contained in:
parent
796e03648c
commit
1238974274
1
cors.go
1
cors.go
@ -13,6 +13,7 @@ type Config struct {
|
|||||||
AllowAllOrigins bool
|
AllowAllOrigins bool
|
||||||
|
|
||||||
// AllowedOrigins is a list of origins a cross-domain request can be executed from.
|
// AllowedOrigins is a list of origins a cross-domain request can be executed from.
|
||||||
|
// Default value is []
|
||||||
AllowOrigins []string
|
AllowOrigins []string
|
||||||
|
|
||||||
// AllowOriginFunc is a custom function to validate the origin. It take the origin
|
// AllowOriginFunc is a custom function to validate the origin. It take the origin
|
||||||
|
Loading…
Reference in New Issue
Block a user