Change comments to ‘Default value is []’

This commit is contained in:
Eason Lin 2017-06-28 13:58:35 +08:00
parent 796e03648c
commit 1238974274

View File

@ -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