Inspired by driver733/kotlin-vs-java and fabiomsr/from-java-to-kotlin
-
Install hugo
brew install hugo
-
Run
hugo server
inside the project root directory.
The code snippets are placed inside the content directory. They are grouped by categories. Each code snippet has its counterpart in GoLang and Java.
If you want to add a new snippet, just create "snippet.go" and "snippet.java", then include it in the suitable markdown template file.
You can create new category by creating a new folder and a new markdown template.
Fork repository, create a pull request. I will review the changes and merge them into master. Feel free to create a new GitHub issue, questions always welcome :)