func init() { gateway.ParseFlags() if !gateway.Options.RunSwaggerServer { gateway.ValidateFlags() } gateway.EnsureServerUlimit() debug.SetGCPercent(800) // same env GOGC. in golang1.7, we needn't concern about this }
func init() { gateway.ParseFlags() gateway.ValidateFlags() }