我可以使用Go从一个Web应用程序设置多端口吗?

As I know, I can run simple web server with Golang just use http package, like

http.ListenAndServe(PORT, nil)

where PORT is TCP address to listen.

Can I use PORT as PORTS, for example http.ListenAndServe(":80, :8080", nil) from one application?

Possible my question is stupid, but "Who don't ask, He will not get answer!"

Thanks for advance!

No, you cannot.

You can however start multiple listeners on different ports

go http.ListenAndServe(PORT, handlerA)
http.ListenAndServe(PORT, handlerB)