Compare commits

...

2 Commits

Author SHA1 Message Date
4df3116475 Merge branch 'build' of darjeeling:rhouben/fibonacci into build
Some checks failed
Fibonacci unit tests / Run-unit-tests (push) Failing after 24s
Fibonacci unit tests / Containerize (push) Failing after 31s
2025-08-11 09:01:43 +02:00
42bbe1fa21 Minor additions 2025-08-11 09:01:34 +02:00

View File

@@ -1,11 +1,11 @@
package main
import (
"flag"
"fmt"
"net/http"
"os"
"strconv"
"flag"
"github.com/joho/godotenv"
@@ -24,7 +24,7 @@ func main() {
}
port_arg := os.Getenv("FIB_PORT")
if port_arg != "" {
fmt.Printf("Loaded port value '%s' from environment.\n",port_arg)
fmt.Printf("Loaded port value '%s' from environment.\n", port_arg)
port_number, error = strconv.Atoi(port_arg)
if error != nil {
fmt.Printf("I had an error trying to parse '%s' into a number: %s\n",