> Yeah, the advantage here over Go would be to have automatic data validation, serialization, and documentation, all based on standards: OpenAPI and JSON Schema. Including automatic web user interface for API documentation.
Golang has libraries for all of the things you mentioned, and web tools to generate APIs based on those schemas. There's no advantage here over Go.
> And maybe the dependency injection system.
Go has interfaces, which facilitates easy DI. No advantage there, and Go sells itself on not having a magic DI framework like the crap Angular 1 had.
> And Python's ecosystem with lots of packages.
Python's ecosystem may have more packages taken as a whole, but Go has a richer web and infrastructure community thanks to being a web first language and growing out of the DevOps community.
> And that Python is the best/main way to do Machine Learning/Deep Learning.
Which means nothing. You shouldn't be running ML in your web server. You use grpc or http to make requests to your ML backend, or generate a config for the web server to consume.
> I personally don't think new asyncio (Python 3.6) is more difficult, but that's more personal taste.
Even if it isn't more difficult, functions have to be colored async which leads to ecosystem fragmentation. It's a huge pita.