(global int)
| 494 | } |
| 495 | |
| 496 | func newPortConfig(global int) *portConfig { |
| 497 | return &portConfig{ |
| 498 | global: global, |
| 499 | postgres: 5432, |
| 500 | mysql: 3306, |
| 501 | sqlserver: 1433, |
| 502 | } |
| 503 | } |
| 504 | |
| 505 | // nextPort returns the next port based on the initial global value. |
| 506 | func (c *portConfig) nextPort() int { |