docToolchain

32174902?v=4

docToolchain
: docToolchain

About me

Nothing here yet. Update your profile at /profiles/docToolchain.adoc

Day 00: groovy

Hello World

This solution is written in Groovy.

I will use my helper to read the input from a file:

String readInput(fileName) {
    new File(fileName).text
}
First Star

The solutions shall print out a greeting. I will wrap this in a simple helloWorld method.

String helloWorld() {
    def whoShallBeGreeted = readInput("input.txt") (1)
    "Hello ${whoShallBeGreeted}"
}

println "Solution: " + helloWorld()
1 this is where I call the helper method to read my input
diag 7b1d3e08931fe678422f1ec27bd16662
Second Star

There is no second star.