~rootmos/AoC

8ef546e77c800e7d0895a408cbc314a49d3fb5a5 — Gustav Behm 4 months ago 00e6d77
Add solution to AoC 2023 #01a
5 files changed, 1056 insertions(+), 0 deletions(-)

A 2023/01.example
A 2023/01.go
A 2023/01.input
A run/run-go
A templates/template.go
A 2023/01.example => 2023/01.example +4 -0
@@ 0,0 1,4 @@
1abc2
pqr3stu8vwx
a1b2c3d4e5f
treb7uchet

A 2023/01.go => 2023/01.go +38 -0
@@ 0,0 1,38 @@
package main

import (
	"log"
	"os"
	"bufio"
)

func partA(fn string) {
	f, err := os.Open(fn)
	if err != nil {
		log.Fatal(err)
	}
	defer f.Close()

	s := bufio.NewScanner(f)
	sum := 0
	for i := 0; s.Scan(); i++ {
		l := s.Text()
		var ds []int
		for j := 0; j < len(l); j++ {
			if '0' <= l[j] && l[j] <= '9' {
				ds = append(ds, int(l[j] - '0'))
			}
		}
		switch len(ds) {
		case 0:
		case 1: sum += ds[0]*10 + ds[0]
		default: sum += ds[0]*10 + ds[len(ds)-1]
		}
	}
	log.Printf("%s: %v", fn, sum)
}

func main() {
	partA("01.example") // 142
	partA("01.input") // 54573
}

A 2023/01.input => 2023/01.input +1000 -0
@@ 0,0 1,1000 @@
xt36five77
two8five6zfrtjj
eightthree8fiveqjgsdzgnnineeight
7chmvlhnpfive
1tcrgthmeight5mssseight
eightoneqxspfzjk4zpfour
fdbtmkhdfzrck9kxckbnft
9six9
goneightczdzjk18589
41two3eightfscdmqjhdhtvsixld
t8929
fourtwoxsxqqmqf3sixfoursixmmjhdlx
bcbsfd14cjg
95three6threendpqpjmbpcblone
tdmvthreeonefive8574
5eight82sixtwonev
ninemg2shhmsqh
thmlz4
xtxjmm2tbbntrmdqxpkdjgh1vzjvtvg7nine
vf19fourddfsvmzeight9
mmg6fivegcthdonesix1eight
7rzzdknxtbxdchsdfrkfivenjtbrjj
2sdzxhxp
vzvkjvngfjsxmponep9jppnqnbt8jtwo
85fourfivetwo6xvhfxone9
fivecgtwotwo3oneighth
pbmninesixzcqs5
ztlhxfmr4mcjnd3two
nfr27zdxchz
sgljlqlcxsnjgppxgqxppqszzgbp7
five78eightthree
mleightwo68
threemnnbjncqq68fourmjdfqzqxbdqvfftggf
twofive35llpqrhptnv
pslmgrznfzt823sevennx55
72fivesevenvnxpkoneightgdm
1sixfdjtgxbflfkvv
77three9
five6skbsrr
fjvlsthreeffzbjlsm2
6dpkrlbxfdv5nine1499
jvt9one28nine29
57pbgvccprdgnine49three
qmthreekcsttzmgd1nineone7dvhsjg
eightqpfhvqnpbbrbmsz76
vvqjsevenfourhmdn45
2eightxgkdtdkfbtcjgrlthreefivekm2
rfpklsh1threenine
nrhbjqpxssmqbkdbzg2
556ghndxkrg9
3six8
zhkkgqllq9eightninebspgktnh1krfbzdcthreekzxzgszgpd
933five
sixsix5qmbqd
7sevenxckssckcrqnpmfiverqtcdclnkzpztt
5eightpdsvjknine813tnz
k81one
6threegsx48
three3xbqvcfgjjfsixfiveone779
threenjtlxnonexqhv1
5ninefourtwofsqdbchtpkfiveninencsdrnvnbf
vdveightsixthree1
2mrxnnqngfmshdz
qfourmjpltwolblkzlkdfr41vmskjgrqkv
8hbjcnseighttwoseven
28lvggdhbjgqth
nineshpzfshzm68ttlqbqxxrvdxrkvdkbcnfdkrhcqpqrfmpxtwo
9hhfninefourfiveczdbrn1
2dpzvd39eightwohjc
3zrhnzvq79fourxgldtbthree5
two1716
bgkfjkeightsevenf9gclhlprxlk3
nbf2rdglrfourthree86xfpqckg
hslr84mkdcqpl3qtszqfngthreeonenine
7bhgqcphnb2fpjrbvrlstvghqbkfive1
6lkfdcddkbsevenxsixseven2fsg2eightwos
3xjprzkdsckltdone
1qbkshbrcddjtjz4jhrdmpnrq3mmfive
27five3sevenfourjhhv
5fivevhkttflkone4
5jcthxvhglfourkjrhfour
3lbgzfkljfzkf3
9tmpczsvskqqtveight1
kfrjhgsixfive9three1
onesixpdf8onethree1
onesixnine5
1lscknhb
fourhrnmcfgpzffhdtbdcpdbxqh3
twoffcbgcjnsix667
sevenfc14
8kzzrbz2threecclhhjn1l
kqqpzbbqkchmkdl46twothree453
8two3jqxmnz
eightpszqltlncjpfrdfzffltnthree4
eight8eightsixdcgqnbvt1lbhlchdzkf8j
64nine
3twofivetwosevenfour9
lhlntlsixtwojqhsevenone74
2242eight865p
dnhfbgzcvsx5krv26
szdnjvh9
hrzczjbfphxvjqs8one19five2six
lvvkjjvgcjbkhbdnf6ninesqgqhthseventbkzhjbnrb
crmcpjhfmgeighteight316
vmfqlrnjjnv7fourkqbsfsnnqxfqsixthreesix
7sevensj9919one
hrvtbr2lqkkhn25three318
rngggthlrfoursix2twopv
3srcpjlqt43eighthscbffksixfoursix
885sixbftpfive
qpfkxbqfph9sevenc2
9zrtbhztseven
5bcgdvdtzjjbseven41nineeight
two3szknm
klfivethreenine2qdpbp4eightwoqf
1b
8llkrslcbcsfivecqclmfrxbkzfive
twoseven1
six3ninefivehtxjqjgv6onepkfgjcczft5
oneskjsh5jmnhsxhfoureightfourcml
thjptkn9rpjkbkvgm2
glpbbfjgfivep1696xhcprcqxone
5fivegnsbzt8gtxvhfmt46
fivefoursevenjkxqlcx7onenine
lfourghzdksztjmfour4threepdnfsz6
two7one
1onesixdzh
7ftphkqlonesxsrlgkczjthreefive3nine
62ninefivefkbmhvlltfourtwo2one
rgoneighttwortjczm24seven
chqxcv3fdqnjngqkkkrvlcgtdfdsvztx
three2dvfpsgjfgs16fmvninefourfrvg
five4bgbfrj52
98sixsevenfourzdsfjddbmbrffkt1two
nine9xhkcmmvb81onehsmxclb
6146four
slmhsix4hhtrdfdjpk2fiveonec
1oneightd
86sevendgdbnrvgjnmtxrmqtt
six56three2hslccxbnzpmbrctd4
seven8nine3fiveddvpdjgqrjtwovhbdmtz
five32
769three1
mdcmrbj19
threethreevc6bknnspdvbfzsevenghqnkxnhfxjf
sevensevenzvqkvvgzn12two9bfzfpxjhfslqs
8mmqrvzklbfivenineeightwohnp
zngczscnv8threesevenfourtwo
695eight8szhqcklnc1
sevenjvnfbbnnine9ninefour64two
four5threelqtwoxhvhjnkgz2
ztnzbgmtdtwonineeight3
twosxfour6xsshbnhsixsix1
threesevendmfivesevendxhsdhsevenqnrvfrgpfl5
71dbpsk4
eightxqzh1clmrdljnxh
jqjthreetwo3
23sixhsvmstwofive
mhvttrxpllkfpxzcfvjtpkfsgd21jtrcrgp
1lcqlznsbdzksklm38frfhdpt
8vjtzvxvfive
9xbcgqhdclrzdnzspllpfrqhnxztftninethree1
seven5two
fourj5ldxlnine
sixtwosix73jjtrvt
9qqbmccrg8xdgcqmnine84
fivedmsdlsfour2rmjxqthxfcsgkqgsxxqbtwonesj
one631p
6x2
93nptkkseightkkgnsnqkpfourone
173
eighteightvzvxr2pqknnccxqkznc
ftbsixnine4
fiverpz9ldmbrqhg
7pzbjtnqcfour4319eightcxpgl
tchdxgqsqeight8ftllckrz1
kz2five
scgflstwo6zzdxdcs
535svzdxtwo4
7fourone2
kqczhqqttf74seven
ninesixnttqqzmdg264
sevenfourthree2one9
eight1rnnsppqbjzv7jknltmlb2
6eighteight5cljzvzdtqq8sqftf
ninebnpxdqs1
seven2nineeight
hjnnqsnfftjstkrlknvlqlkfsdbgz8
rcbhxcfmkc3ptnt2
threesix378twostfsjjvmnseven
hllssqjbc41
six9zbkrrvmxngjone5xqjbxcrkhzr
nineone57
3pls
sfcdbhkdrpkdrtxtvlkqfiveqvbxhvm8
fourthreemeight7nine9
five5fivesfnxfour
h3two2sixgkninetwo1
53ccblnvbqhjxgbxrs1tk
twotwofxvcmsld2zbjlqzvgzkqvnthfvsftwo1
eightninevdxxdglskbfzz8sevenfour8
flhjjt6seveneightlqpfvnpxvthreesix
threefiveonegpcjjvv6fourseven
9pbxlqdkprzcxp
cblkxjmpgrfk5
qbntftctnine5five3bsevenbskhvtm
7eightsix3threehzn
5nhndlxkthreeseventwocdvnhzrcszhd
six5onekbctwo
fivezhtlpveightvdfltnxpvrzmczdzb9q
nine9xsfq8vtdpmcfgm2
onesl8mqzgdrstwofour
4onedqtrcc58ghlgxqjlbv
132zvtptdrqt
ftwone1tkzzthvdsevenseventtgvqnbzf
prxrsfvdbt73zblz6four84seven
onefive1xllptjtwothreehsdlgrmjssfgk
twofiveeight781mgjxgzlmgkv
483fbgsx5
four82onefour
229683five
2onevncxhvscnbtngbzlbbpdnnntr
275cpjnine
j4threefour7dzqleight
ddgmsvmfz7brjdxt5
sevenfzjtxjtbmj8fivefive6
tqprcctwofive8sixzmgvphmdsmjtwocbpqc
sevenseven4fourbcscfcprcr5647
tghsix8
two83six9sfp99
fourthreefive3seventwo
7threepx
oneeight69sixgdzbbmlsh
23onelrdvbzljtcdjqckntwo7
six8onefivepgs
83gnxnjgvdr2four5nine6
lgfcvptthreesixthreeeightthree23
seven8gsqznnpb3
dqr478fivezxtwo
4cgkjbl261
pnjeight84twodnhh4
zeightwozhxshspt45
8rzkpmzlvszvdvonesixeight
twotwothreeseven95threethree
sixbr293sixthreesixnine
3sixsixthree9
q17ninenineseven8
jmhbhqjxvc72qsrhzzpnljeight775
456jnrtpfseven
gjcbnbdkt94dsjrgdq1
five56g6
rvjq8dkngcfjdd
twofive43
sixzz9threektkqmfq4gkxxzbg
2four7four
four3eightsvmnfive6
ninelvxcxdrxk1mvhtptlpqvff
qrbtlxbkdrjzkznqp6
z2xdrtqzzrbt9five3five5
twoeightsevenfive83
73lzgb1
oneseventwotwothreemr4dfkjlgshjzvlxqqoneightvvr
5twonvhrbtgfxdlvxrgnpkeightzjpd1
twotwo6rdfc
six84sevenfschptts1fg7
8kzqv
hnbjfivettpzkb8six
nine8zcrzgqntworxnj2three5
1qbjtsqqrttwones
gnjmvqrhnsfive5prbzfsjteightqgfcx2one
fivefour8btcrpntwo6oneeight
kfxbxn4283kcjpkbskshjdss9
3threethreeh
bmzjktnnrl8fcmmbtgzkj
vhnine84seventwonine
gq639rhqlbzp21qbseven
6rnineptdmntjsix6cnhhbcn
sixscrdone3mhgnmflzxftwonvkxvrftqcxzcfhdgxlvreightwos
6nine6gngneightlvqmmjjtdkrklqbthffhtwothree
bsn4rrgvrjdddhdfsvsffbqnrsbvtfive
twozflqcsix53jcsc5twohdeightwofb
73rx
xldqxlmfcdrnthree47tz6
foursix6ksrzponeonepdbfpjzspp88
czvdzccj9nine7
92one
9one8three
onevfzkmmcrtwotwo2five
8eighttwo6xpfxtvvpx
83four9
3fourdmtqtvqthree2ztvvdjzmfc
8fourpb7jjlcbkxkxfthree44
9cchfourltlxpbjpdrdplrqgrqpk1
fiveeightxlxmr5
bgrczrdsfrcfrpkprdncbkd55qnhjnzkbpninekbmgnlqgmxfqgndc
6jhcjhb57sfive8oner
six6twofive3ckthree3
xfxkfourtwokqcpvhzjjzsrxjm6
four85
p3foureight3rl
f6four2eight295
1onevonelslgmbq
pzj6pmjone94
bkmcjnllrmcfpmqckl3fivenljfgeightvrjfb
kgsczqtwo8qnjhtpfltonepvfive
fourfive5pfnlnjqd
vgrsfxtkcxfstsevennine89
njkblck4phphvmq7
ghflplsgkljsfk5
rtbm32lntjflptp435twosmtb
45four
fiveone41pqgcjt
threesdnllrxbxmhtcmjvdktqqkzs1
5one14zmxblkh3
4mzzqpmsfour5pnzonerdseven
9bhcxsnxdv7
twoxxjnsxxjxfnrtnknseven29c
four54gkcrncmjtpvfbdqr
mmvgl8onekzq
tprfvqnine54rqjkchkxtcrk6gxjgbfqpxg1
threeghtxbhkkrvxxcrvslhnvczxnine5four4
bkrkeight4jvjvmnine
sevensevenmphmhvhtjxcdcrcgbdvlmcr6mczlh
eight74seveneight5eight4one
bspq9fiveklkbeighttwo
51four
sevent79zngvzhhlxjrnrbkvnine
six3threepsjhtfoureight9
44mvfhcthpbv
3fourmrdzqlvb63hrzhqxc
7fivesixcnxfourpfour
csix4
qqtjk43
eightnhqpxttth9ddbfjpqjmfour83three
slx6fdm9bspmbxdqjfmkhr
stlxrvseven1gnmnqrnlthreenine
56zjfdrb
sbcxqp8
7eightsix9eightseventwo
7twosixfour
1eight6
twor59eightfourkpsix
571fivefdpntmjqgnineftpjtkh5
two7nsdz
pmf5twoseven4prgqz
7vfmvlgtvkbxnq
eightstdrhhtctthree61fourbmcvhmxtkdhcltxpr7
fdjcssixninetdgtbkgj4snzpqlninehvvkthree
122pqtcthreesixeight8
hfztkh2ksjnj43nine
sdlnm59onekdbdrdksixktk37
4mf114
8foursixninetwoxbcnq
vbhspqrkvcvpfour68xncb3kdbr
eight841
2fdr7fivehtnvbk7nine34
eightsixone1qzp4nxzrslmzrsix
two3zdjntkkcmdpheightfive
44one
17txlqkttvtzhzkjeightcqtpqzxlktxm
two8xcvpzppmzntzr
pbqeightwoncjsvrlzrkspcnqsrrfivefour5
9foursix1onevflhjngtthree
gp3qjmnsksn3nineeight4
39fdsdqonefleightwopsp
2dfzsfssnpbzfour
stzzclzgskgbztvrfqgbrms6
5zpq81threegdg
6three9ninethreeeightsevenninehhgqhxfhlv
1tqftcgtwo
zpkrjxfpzf5jmpqvxrgp6threexbjlzclxpneightscbrsgnine
two4bmlztrzn1
seven9klmsfmjtjr7sph
sixsix4
stldx46three15four98
gthb7nine
lninethreebrzzntwo4
6fvhgpqj5sevencgmm
75two7qktbnpcxtk
fbkzzsixgshhmzdgt9
xfivenineseven1dtzsfive78
four3ptvfmkkhzjsix
j9txxgmsvxx
seven9lmxhzthbnbbxjmbqkpsntbfourone
712fourlqknine4
xlpnrk64qnjjvszbtkgktbn
lznpdmrcxmzhsjqkc2cjm3zcx
615sevensix
phgjnmqfsqgjtqvzhpc3234qpkpjmxbfr
tnrtmcdljzq1three62
bcndkzgzp5sixhflsix3lgc
dqgmbkxlv4onetwo
freightwomsix916zrcsjgkktprb91
fourbcmprdvkbl9vxzfkcjfsqdlbndmrsq
sevenninezpblthreesix2threeqrcdpjqjgm5
5jnnine
j9fivesix1zhplxlvxsninefour
dm68htnmqdsnzjvqrrj
8four9pfvjjhrbzmlvhvtseven
two256six6qdpldblvleight
ninecprgdrmc2eight91mggqdvhcf
sqbccsh81t
1twovfhbngpggbgff8eight
bxdstkqnbhkvt2three2fg29
one7threehxcttwosixfourpx
brnine1nineone
6fffrqfjprmdx6sixseven
7four4fourx8sixfour
951seveneightnine
fivefoursix5tg6dpdxrckdh
829schqjxjdxncs6
seven1twockldvjsbeight
csjv58dshcsdrkgsixrdl
nineeightstjnxcgzbxrldsevenfour857
oneqpndxmthreemnmlnqnffv7
twotwo8qkdfcxvd253bhd
sevenfour3
t2sevenfgmjjrg63fourrvlz
4six9fivelbkzffrvsoneightxsj
nkkdsbp7kkjchhfckqqxfourthree9
7eightone4fiveninevxtrmbhfbrone
onemjzfsvsbh2vmsxdmcncjlnvtsqszv
eight26
sixseven7four
cpkzctmhpmpgtwoqfeight79
vplxpx9tndmcpsone2
eightone2bqlmdmf
8sevenfivetwod5one
fxmhpcdckl5czfcmeight
9216gdptpmninetkfjszftzdfive
ninefivemrvmdt5nshfxgg5
9qclonefive91
six28ninethreefive8two
76five
njdtpktmsqvbfourv9mmonesix
5qxckljjpninedstsfdthreevfrsmtn3
tzrrbjlbq7eight
bzl5
3eightsrnlmlvhtwo
vthqnine1zfive2six6four
cseight1oneone
mgnkflp4grkdrrrtfzmjkbtblfivebgcrmgggxjgkm3
5three1vfrseveneight
seven42seven178
8bnrrzbbvghcqdbtwo
fivegxdzcmbzsix6sktwo2dp5
xqdtmb2sevenxpvdlfsqqkgfxqjqq8468
rscsljnnkd2seven
mzeightwo49ngtzr
threesk3four3five
7shzxkjkgrt71
nxcnnmkqgv1mdmxtkjtwo9bhbbfive
kdxmcg578six7nxqqbm4ddsxzxmtkq
8rjdkmqfivevpfthbjkbt9mnine
5pxfive
hgnfjtwofive2fxxeightmx
pxpqvld69
onesixtxmxttxqfour1rxfrvsgdsveight
95nine9onetwo
48ftnmcxrmxc2vqsgrsqskzs
one4threeseventhree86
one9ninensqxone5zqfvmpd6eightwozgb
527two3croneeight
sixzdzfour291eight
5vzlblhll42hnrrrjj
xzdkkpseven9one1vlsixfour
4tbzbrthree
8hceighthtd
9four4
eighteight7eight6hfthree
6fourbbx1
5onepfzgneightsixxb
xzrjpnfvxr61
two1ninenine6pbhkzzgjq6
sdltwonecbbffldnfdlkh131ggkrqqg
kxrzqltp3vfh39
nine79djhzhhgxvglg
5four1one833
1twosevenseven3three
4nineseven
three42kzqllpf
zkxflrctvsevengkpnqkrrj2
6oneleight9ncnmxbrnkf
qthreenine4vpbzzzfnine
792
hjmn85vtfjgtqv
one3sblncblnvf
ssxxddpqbdznrczqgsix64three4
2four4fourtbeighttmm
fournineeightfive1twofkjcsrklpxlsdvxnt7
lrlzz8eightmpspsk3nineseveneightnine
v4
eight9gfzone
jscpppmpnfkhcxlj1pbtbltmj6one5
8nqrmzrbvzrnine
two34m73twoklqqdlcrrh1
7fourtmpxnf
twocpbznkqnqsixt86
81sevenfsdldftgzvnhhhf
ggntprxxqrpknineeight8fourlmvsr5
sevenztwoseventfour7eight
fkcbvhmqqk1sevenseventwoseventhree
three6ltvtkkhgdpsixsixsltgdngvrttwokz
2fourv
c29fsczzfiveqmrfivejbglcqhl6
4two3
nine2kphnrztjltxgq1sevenone
lpbcgone8
vcznvhllrbfx4275
fhlsdjmppnrgqhqqxt921
4four2sqzzcvh
19nbcvlmhlkqfshhckzkzpqbxfour
seven19
6xprmkgfgntwo4bqk
threexf5threefive4
3fqone
5g2x68cfghcmtwo8
1fourq
pflnjchgnine25one5eightxvjkkxb3
twontnqpcqc17
cxdmgmvmfssevenone6onezdmnltchtnfour
cpcthreeb76zlglhtkdxrlxjsevenzmvd
sixbhjbcpfjeightjcdthzccpzeight1kknxfck
bhkplfzcdqdfsffcone3seven
ninethreeqnxmgmjct2
ninexjlfivelqznkhngnsvnqhqsqdglsix78
9zbqrkmvvnine
1ninehqtmlsd6zjmbgbhjm8
fourvmht91nine551
8eightmfgjteight4one
6eight1lhfhmqvjsixjpdgnjrzzbtbcgb
lxptvkmftqffksixtpfnvkxzvkldfpeightnhncz6
lnsvgtjs2nbsqbkjs
8twohtdv32
9cbdbvvmninekzbrfchsseven1
8onethree7
hk7fourxvqdqmnsdnine
hxbjdsk1vkjbsqn6six3nine7four
485
5four1kmbcxhjseven
2hjfhtmfg3sixonetwo3five
dvfk7sixninethree
onesix827
87seventhree
twosix16lfdfkxbmbcfive
1mssxhvgvmxfoursbjdnbrts27rllfm17
rrvpckn9fourgvrhhzppncrqqml7keightwop
knvmsveightxpbmxptkjbtmzzn3pzbl
47eight1
815vd5gnbgone
xbclfszchvone21
7ttwofourthreehjhpjmtwogrng4
twothreeoneseven9qd66
9dhbgmqgr7threekfhzkqqg
fivekvxpqrkkffc6mjrpksfcqfln9
63two97
txbn163qkbddlcgdznine9
dztphkcfnnninekjqdb89one
mqvtrtz9
7hcnmcs
foursix7nine
sevenstm9gfjvjcnmjnnhbgmrkgkccsflm
two2jgfqdmlkdndmsp1rqlrqonel
eight2qfive1oneqjnine
mtnxzx7tthreeshdxpcrhrk
vzdgktfcq1xtfxqzzfdpng693btkcqhxpsmczbxq
zbvgtnzmlghvhnklhmhjnxckone4six
98eight2seven3hhbxgvnhbg
seventwo7seventhree5ltlptmhjp
1rf75fivegx
2nineonemlhxmhdt7six3
nine6sevenlzndhbnpkxdhdtcqpzgvkskvjkhphpqnxl
qnqpnlxcjr3phkkpnccxr2sixrslhrtf2
12mrkvqsjdcc47six
onehhdveight35jgnmgvqgxdr
hgoneight5
m9eight384eight1
1p6
3sixnine41seventhree4
5dvssdf
blchhcfourgzvssbhqdxdbxt14zvbknhnll7
7twotgqrxddm5
btlkbgbtwotwo5
five63ninesnqx
fivemkvjpslfoursixfivepjvtx4
74threeeighteight6cpbxbqgzh
twoeight7bh
rgtwo7fnck7
five4sixnvjtcmx12one
ghqgdfour33
tjpdztkfour666dxgzjzlgnz
ninegnqrqpbrz8seven7sevenhfbone
npzlpklnvgone6nrjcpz8
2seven6m8
seven3fivegqvxgrjcnine2xppl
nbmvdgk9grz4
four291
tdnfgkzkxbfpkpcthreenineoneone1
7nineflqptxmdjgttpll
one1jnhcvthree1
foureightkxfcqlkp2fclpr8bzxtfbl8grdsntkrst
six16fivezqbchmjbb
zjhkd5two8
745shv
l64dqvsixthreethree
rffrrmjsfj2jblgqnl7gjfcqtszfour7
fcqcmchhc7t
twofour834ninefpvbvps
gmhhjr94svpddnmxvd98threerlljccvq
ninetwosevenb71three
eight4xllkpmjkrp4bv
zhvzsfourrkflmjpjhfourfjbd32jkvrpzqg
2frgbkngmsix9stldncmsczh
eight9three42grlbfps85
1lrshxpgxlsnrlfjlxk2
jfhmhcml8mvbfkxhmoneeight9
five8sevenlzvpzpsbjfourseven1fkcfdf
4vmldcjpbbsnfourseven4three
mfchhbqk7bdlrqhone2fiveone
hnncfrgmnkg5six
dbone55seven
geightwoonevhxbqbpfkx6two67
sixcrnq1hnrsttfxvjeighteighttwoone
fiveonetwo7six
9nqrmt5n9fkpbhd7
two1fivesixtsrq
684
ckbxntxfhthreefour7sixseventwo
stdhzqdpnxnine6tn7kjxftfbksevennhfxznjxgchm
8czxhfptlknjlhn5clhzdfgntx741
3nine64vvgsfour61pzb
rloneight7lfrfqqb8fivefour3
vnhbtkbqone4sixsevennmrgmmptvreight4
bdvjp354992jgfhzzvhv
fourp1
five7oneseven
oneone954threefivesixsfr
sixfivevmzlzdfjvq5
4bs
threetwo64ccks3
onetxqh3ljpnkr9onegsmkq
five24seven6threethreezfqzgzjztgntkcfzt
3fourv2
eightoneeight6qseven47seven
559ninexcdkqvszsq1
95sixthreetwo8fourthreesix
ksxtrn1gqxthvxjltfivejpmgvz8
ninezdkfvgceightnine7sevenfiveeight1
h43zktkckcjrg5nmzjkrzmjqsix3
44pqlgmmzvgzpslmnccdjlvq
4threefoursix87
92gnjfsxzlcn71qzcbvq6nhmgsvmbrvvjzqlndhl
hkmjkc9fourpbgjlvqxhbhnzvmlnfrqsixsixksix
mspbpsgzn31ninesix
7xqtttthreegr4fourrbflxfznfs5three
rtpknqgsix7sixthreethree1one
qqlqh8seven
six11eightkh73one
eight9mjzpmhcr999fourfive
fzeightwo7smqq
7dzzxnttq
4vfk9
ninermjmpprxmsdgrpgzmmqtjxkpfour5kscxs
h5lnhnrqhvltpsns
twosfdsxcjjhg871755
1one5
933zdzz1five2
4zxh9j
bnlmdd9
nine4xchhpgnfjtwohggvlkkxthznnf7four
3foursixhmsddvmqkgpjvone34
bjfxjlseventhreeninesevenfivethree9
qhqgxtjvslnvbvjsixjplmfq8
8ffjpthreerzkdjkjjzxvqkspsevenfive
3three4two1
fiveldkk7ninesevenmfnjfjmdgeightprjrq
4rqbz6eight3lbgbpgcveightthreefive
sixdsmvltdv2six3fourxtkzsvjdbvqfmthree
3one2xgzvczlxvfdpjqgninefourfourzft
sixcnfznvcb8four
3threethree
trzqdpslthree8
3fivefourninefivethreefive8nine
1sevensevennineninezmghprscjskqppgmh
6zfoneqkxhxmtwofour3four9
twosix6dxftmjgclkkmzxmkglmqvsrtjcp
ninejkbk8v5fivefivethree
9twoneqv
1cq51lklfoureight2
8sixfournine3one
5plgtszkt6856six
qoneqjph11hgvhhkglsreight1pkxrltrzm
nine25mlxmkmcg4xlrntfsrrxmlhdtzt1
fivetfdzmsq2
pdhnkbjrj5fiverjpgmntqkpmx
fourvgc1msdnxrbpbcjfive
14tbcfmjl3sevenvj
ninezrcfqvg9
5eighteightkkvtsbrkjlthreegspdm
99four5two9
pvlvjvhmg5krzl149sixtknbgfsgvf
44tvzgpz1
8threenmhmptmshpcsix
5rdjmjnmkcd
ctwo6
two1dhtmsdtsds
ndjd4sbzm5fourseven82
rfqsxkdhcr1twotwo
4qrt5threetwosevenffjdvtzhgfd
6421
sjgfshzjg5four
threeqpvpvdhgjhpgqxsrhhp5dqjqlr
five7ncchvpcfmglmfzstrmvhfnqndzrmvb5
fvnfmcrh684bjq63dxnnlznrn
threedccxvrtbj62bfqfzlpxms8five
893shxkgpvpfour36nine7
dtoneightbrmthree6
6seven58nine1mgqqtzfsszlrgghmlknx
four64
five5dklfour4
lgv2eightvcp
pnfkrfnncv3lgqlrznone
sgcthreegxrnfkpb731
8twothreetnxlmjtwoneb
txkrmcklpdhclrklxz41lhddmkp
rqndtwosixq8
btbndntqsllxc6vzfrdqm2sixfiveeight
rhvfourp1seven5cxcc
jlzzqkvfxqltgbnj1
24szksixthreeone62
2fourfpmjltjnqvgrgxxbggtseven6qms
78prqkfbf6sevenfivesixeight
drtwoszsevenckqrxfseven3sixseven
zbsj6four
hrcxgvdbd6
six9three4onefournnsxgvjtrdthree
441
fjnjksnvgjznxflonetwovcnmvhdgjfggfvxmmg2hppfcgjqv2
kjszbvrcqznbf4eight5four
twolmbrdmx8kpltmqznslfsixsix
6bjrfthk8
gmzzsthreensrx3
sevenz63xlscxeight
fivehmrcphp7nine53
fivepmqvjqllgthree5vkpn94nine
seventhree9sbklvfvpsixr6
one56six
pfivetmqrbqxccpxsbcc87five8
mtmnvlhfsix75ppk9rrqzbbplmbseven
547mmntlxflkztkkftxkrrk
5four9threelcqlsrlvg2
gglpjhvjnnnrcbj3n55
xgdbjcrxdf5jjdfrrkzkdzpjkrlstwogbzcjq
cfmgxkjcfq9bkcpkrpltp
fcqkjhqgpkthree4sixthree84frmfqqkrs
onetwosveight68ftgjft3four
jvlmg2eight3bdptwo4sixseven
three1bhdkfnvt
6eight12fiveseven
onedbxgcqnltfour35
sxtwone5336psninexnrjsxsix
four79one47jvmmhhggcthreecgkxhnlm
17eight2fivetzcfmrlxvd
rxlhkjlm778oneone
8one1one499nine
six2fqd
9smpkfchhzn8seventrpbvcssscseven
nbmqctcldmnvnbnzns9twofive2three
1five1two
89brvbgnine
vcbrztfjzn4
4fvmlvxjd
lsixoneplt7two9
kphbsssvsnjgjnvqjcbh2nkmfeightseven
three4xsrmfldqgpqxbpsevenfour
rzd8xzmcdch
bjffone41xzone
xkmhqhgr2lxpv4jnsrnfour
31cplcztdkhsix
6tkzzqqckvdlkxrfourrveightwoch
26vkvbdvggfcsjccrkzbh
3nr
ninefourklmqgsix3cvnr
mlnzksvhnvvbxpsfnspl6hpqkdmg
btwone1jpgjdmgbfive
817sixqtvhxpfglj5kzmbtwofive
1tworcsevennine
xseven69six11
four3sevenjmgqzf3two
mbrfzsj2
8xgsdninefourseven
six14snscgfnconeeight4
seven4fivefoureightfive1
threegjgdnqvhqlbdv24fivexdvpdthree
9ldkmtzghbtwohqzzntwofive
fourxh8
eightfkxhflcone3xscqdqqkrk
qzlbtgc2sevens7
rfjgmfbjt185hztszz111
pxsixssnfgtfour9
zxflhgjnmbgfdqtzs4twojzxbrsix
7cc153fivel8
bzoneightlrvmnrh98
threetwogd6bhdkrjhxt2three
hlrscbd8rvppfclqdtseven
twofivelbjh3gbnbdbpthtgpqjmxjlmzjq9zqll
2fczpbhqjqfgzvzzkqgmsevenone58three
fourzvmlt3sggpjzssljc8twoeighttwo
ninescglkgftppbm187
five1vll26two
czghbj5827
nine7threerngqxk
four5bjbhfglffourseveneightfourj8
djqrxfive4five8
3xzhpqc6six
1htdxrgtrhvpgz
5bkxxsccdftjmhkfjqvjzjnine
pxpdfdnnpqzspxd9xrpvrxhnsix9four3
gtxlzxdninexxhseven5
xcdkvdg7nineeightsdjvkhzgmone
zrnrrpxdfcnine2qgjxzfxcqgghbdk9
twozrckqbppsixhh7pmrmnktnrb7five
tdxpjz2kccgqzcslm8sixsixtwo
8tgcb32
eight391gxm99five8
one3fivegrpjr4trqxj5eighteight
7eightzsnndnine8fourgphhbhxn
7five8seven6mhkksix
8jvccfldpqfourgltcqbkpkfourtwohbvnnine2
rrvmvtvbrmsgnstbghfl28
66fourninekjzfzrj
seventwoninethree3plvfoureight5
fmpzrfpqqbfivenine7
nrkbbdqdthree1fkbfivefourqlksbfdsjtthplhjhlvgh
176seven
3fourfiveseven681
five88rzxk3mqgtkvgpdx
pgttnnvnhtl4rljpqjzhphmkztwokdqspbth
54eightgngggmdmnxgd
d6jnkq78cgvkrgseven
sixeight7eight1dmvvprm
72twotwo2kntsrccqkmzbn4
snctbphhl2jgpghbvhg
one5xxvhfive6twozmlxddppmb
145eight5jcpmqhkpgrdbvlzl3
two4vtlfddtzrzlmkgx15
2fourseven9pxqzdf3
6ninec3
ninefsix54
sevenbzgrdbbvfmbkvb8
vntfxdprf91rmgvxlxhntsztmggjr1
six4spdffrjfthree595four
pxfftjkdnninexkjvskrtpmjkhnncflz26
dkjmxmhpc7eight7
hsbdfeight9hhrjcn8twothreehjpnbhslcc
437kzcqvsmxkknfour
8twoone54sixvmlcjdnrgnqbmlrvdtnh
one587
4kxxsrcseven33dcvbbgkbcd4fourfour
nine56
oneeightpz4rqbrcdvjbx55
threefive33ninexrlj
3bxjdxlmlgs
gqmkpqpppfour9fouroneeightseven
492
one398threetwo6dseven
j8vlfrninebdgnineljtvbeight
nnnhx28sixtwo
fiverbgztggr6ktrsfvbtqlbtdshqjxjhj
qmdjfthzfour318hrffjj
977dpssrfgfxfxkk6
rvklzfdfour3twofour8five
czbjbfdcbs1rgkfscgntmhksixhqgbrmzvzrg
3xqlbqbcxnfq
six29
jhnfthree7
five1821
578blhpbtrjthree83qtflsj
fgzqnrvfcqkfrdmgkndmrxfctgvsbfive2eight5
feight8eight
3qmfbdztrgpb5
ck5three14lzmffcljxcr
3twoqgjqlvjeight5nddhpflj1
vvdsttjjjgnrzgfournkkhp622onesix
two7seven6
7941
28two7
ninejhxnjctz3jtxmlmjg
vmjpxvqg24pzjfsxvcg5seven2
xpqbffpvmn5
32eightseventhreekqdgtcxgjxvv1seven
2eight3tllbkklghb7
sevenfour1
tjsjfldclvqq1sxcl
mrdqvsxk15jbxstdph
9fivefivebbtcvhqjjdvvqeight
fourdtbkzvhrbvzqnnzghnpv1231
bz34five1
six26two2
bczkffnrtmsrctwoninelbnxoneeight2
sevenstvffmtkqqxg57hthreeeight
4fivesevenrdfcdrxd4
bbbrjsjrmn8px
317vncvpdrh91threetwosix
9sevenzpfivethreefivenineseven7
twodsnvkbvfbtwo62tt6
threesctkeight3vdjrnflh9nckgmzhdf4
eightsixtwo39skhnzf
foursix6
3sixzp5fdzjv
ntwone9xzspfhrthreehsgpqdone62
five9597tgrfbl9
six4rvrcbbjzfdcgctsxjxmjrpc4thmmj8
3sixmdglgdj2zzrkgsdgk2
cbfxpgftninekthreexvmhxmkx1fourf
76twoone
7six32two1fivefspjtdsix
nrcntbgdtjsevenztsmsgfmfour9thslsmhgnk2three
21ltslbrnineseven7
41
sevencdsnmzkspseven49
jbzkthreebjgvhfhcftwojbzdbmcdlff29
sevengjlph11fivexhzdrs
fzkznzxgbsfq4
gvpqjgrfdbdtrpqseven11mmjpkz5
ksfjpnchqzqone15eightsixfivenine
2skjmpvdfoursixtwones
dmtzhqfivethree3eighteightoneseven
one6fourrrrtkkjvr
229spkrxlg
4xjqzfourdtmq
mkv5six
8jdzlpqvc89two
2foursix69k
xbqrmktzfive4
five9rjrvcpfbseightfkmlgbvqkbqj
qnmkvkmckfxqmdtwosevendj6sevensixfive
mkdvknghvsgzrbbjqngbsqeight6mjxfivenineq
6two97mxm
two26jjqjs
1scslcns
pckdk4onesevenpnxq8lxxbzvftcbeightl
qczvprdbeight3twosixsevenfivenbzj
462mfgmhfseven4vmv
gqsrhltninethreedbkrjdfivetwo1
ppsix99nine8qvhbnn48
nine35fxlxqfctwonezf
four2twofive1
847dsgonethree1vkmhmtv
8gnfbqmzszxdfkv5five
22kvqd
five1sevenl59
kgshxdjdfjqzthhplhjqxbjpbxggtz1
fourbzbzvtfj8twoone6629
hn28six1
xqxknfivevxhljqpsixtwo3
hsconethree1fourthree
three5gnlgcthree36rkvlpkcvronefour
rvjqkndonenine3hbrtlzhcbfbkcfive
hhrmnbnct6rdxxtkxkcrbdfg5
6xsqkbthreerjgbzfhb
sixnlxzmblfzx5cspjqthree
4twondrxjb
4three6b
4four3three16
eight3hshdzptsq6twosfour3
eight37twotrxvpxk2ksbldctj
fourseven8fkmtqzdbfourseven
6vngvcmplx
jhr6gfplmzpr2fourfive
eightnine49twoeight2nfndmmb
three7threej4xnffjtnckltwo
onegzlnjsgzlg82mkbfhtmhfour
85vnseight5fivevcqrgvgrtp
47chxx6pkrdxvmrvvfxbl5
34ctkstrjxsnfourseven
two9zcrghthreethree
veight37
two44nine449
58eight98cspxfhftvx
cxpththree7pbmhhmkfzfvthree
8nine2hbmdnvbthree
1four6ncdvzqjqhx1
1bgqspl958lrj
7nvmqrnthreejbzgnzvzpgkr69
7576threesix
twoc83pt
fourkdnsvcq9sevendmhsdgt54threej
zrjts8sixsix237flm
8eightrndfour
two9jsix5gcxf
fivefour7nineseven1qtcdqbp1four
fourzvkqhdninetwoftscrmsd64nxsgx
q1tdsskthree
mkhttggvjh9ctzffdqdjnheightninegmxqxhqrfqgbgzt
ninep2fourf
fiveeight2zxjpzffvdsevenjhjvjfiveone
15737seven
pdrss6oneone4fournine
7b

A run/run-go => run/run-go +5 -0
@@ 0,0 1,5 @@
#!/bin/bash

set -o nounset -o pipefail -o errexit

${GO-go} run "$@"

A templates/template.go => templates/template.go +9 -0
@@ 0,0 1,9 @@
package main

import (
	"log"
)

func main() {
	log.Print("hello")
}