Browse Source

Change comments to ‘Default value is []’

Eason Lin 8 years ago
parent
commit
1238974274
1 changed files with 1 additions and 0 deletions
  1. 1 0
      cors.go

+ 1 - 0
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