From bd12529e59db02e2aa95e2be89768ec38b72a3f9 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Wed, 29 Nov 2023 09:44:44 +0000 Subject: [PATCH] Improved template --- 2023/src/template.dart | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/2023/src/template.dart b/2023/src/template.dart index d0bc14b..c6e2fbb 100644 --- a/2023/src/template.dart +++ b/2023/src/template.dart @@ -2,9 +2,13 @@ import 'aoc/helper.dart'; String input = ""; -void firstPart() {} +String firstPart() { + return ""; +} -void secondPart() {} +String secondPart() { + return ""; +} Future main(List args) async { if (args.isEmpty) { @@ -20,6 +24,6 @@ Future main(List args) async { input = await getInput(year, day); print('Advent of code $year day $day'); - firstPart(); - secondPart(); + print('First part resullt ${firstPart()}'); + print('Second part resullt ${secondPart()}'); }