Skip to content

Commit

Permalink
Separate main method into a different file
Browse files Browse the repository at this point in the history
  • Loading branch information
esotericenderman committed Feb 8, 2025
1 parent a138c16 commit a12810d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main/kotlin/dev/enderman/template/App.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,3 @@ package dev.enderman.template
class App {
val greeting = "Hello World!"
}

fun main() {
println(App().greeting)
}
5 changes: 5 additions & 0 deletions src/main/kotlin/dev/enderman/template/Main.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package dev.enderman.template

fun main() {
println(App().greeting)
}

0 comments on commit a12810d

Please sign in to comment.