News for hackers. Stuff that matters.
Re:Go Framework: No Framework? by Tainnor on Tuesday November 29, 2022 @11:29AM (#33789634)
> For example, the code below is a complete Spring Boot application with all of the default configuration in place.

Uh no, you forget the part where you have to add a bunch of stuff to your build system (maven or gradle, usually), so it actually knows what to do with this.

You can't just compile that class with java -c, run it, and have a running application the way you could do it with lighter-weight frameworks.

Re:Go Framework: No Framework? by nsxwolf on Tuesday November 29, 2022 @11:48AM (#33789911)
Yes, you have to learn how to build a minimal pom.xml to make this compile and run. IntelliJ will do this for you with its Spring Boot project template. After that, it really is this easy.

I consider the boilerplate needed to build a main.go file that starts a gRPC listener to be harder.