Commit Diff


commit - caa671aa93f9d9798c13d9e90653f0f73376940e
commit + acf55e21fcca054582e7a0d1ea4bdf31da118361
blob - /dev/null
blob + d77f3b926cd41dd141c754061f09c044b655a6b9 (mode 644)
--- /dev/null
+++ .build.yml
@@ -0,0 +1,16 @@
+image: alpine/edge
+triggers:
+  - action: email
+    condition: failure
+    to: witcher <witcher@wiredspace.de>
+packages:
+  - go
+sources:
+  - https://git.sr.ht/~witcher/medge-split-merge
+tasks:
+  - format: |
+      cd medge-split-merge
+      test -z "$(find . -name '*.go' -type f | xargs gofmt -l)"
+  - build: |
+      cd medge-split-merge
+      go build
blob - d6ca20a61b801a52ad099c50fe6099705307a52c
blob + a25a73c2a6e3b49000703d22501699852aeaf4d7
--- xml.go
+++ xml.go
@@ -18,7 +18,7 @@ type Segment struct {
 }
 
 type SplitTime struct {
-	Key string `xml:"name,attr"`
+	Key      string `xml:"name,attr"`
 	RealTime string `xml:"RealTime"`
 	GameTime string `xml:"GameTime"`
 }