From d4d9eca5f2701dbc5f1d5a77a45b5ab261cf16e4 Mon Sep 17 00:00:00 2001 From: Jean-Marc MEESSEN Date: Sat, 30 May 2020 17:47:41 +0200 Subject: [PATCH] Add some documentation --- notes/enableGo.md | 3 +++ notes/protocol.md | 10 +++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/notes/enableGo.md b/notes/enableGo.md index 875d76e..2066fc8 100644 --- a/notes/enableGo.md +++ b/notes/enableGo.md @@ -32,3 +32,6 @@ Cobra documentation available at https://github.com/spf13/cobra/blob/master/cobr * https://stackoverflow.com/questions/8757389/reading-a-file-line-by-line-in-go * https://www.golangprograms.com/golang-read-file-line-by-line-to-string.html + +## Parsing 2 +* [Effective text parsing in golang](https://medium.com/@TobiasSchmidt89/effective-text-parsing-in-golang-163d13784288) \ No newline at end of file diff --git a/notes/protocol.md b/notes/protocol.md index 421f992..1c97fe3 100644 --- a/notes/protocol.md +++ b/notes/protocol.md @@ -1,5 +1,10 @@ # FLE File specification +## General + +* line comment: "#" => "`^#`s" +* Multi line comment: enclosed in "{}" + ## Header * **mycall** The mycall keyword is your station call sign and it is mandatory. This is the logging station's call sign (the call sign used over the air). Saving ADIF files without your own call is prevented. @@ -8,4 +13,7 @@ * **mywwff** The mywwff keyword is used to register your own WWFF reference number in WWFF Logging. See also chapter WWFF logging. The syntax is: AAFF-CCCC: AA = national prefix, CCCC = 4-digit numeric code (e.g. ONFF-0001). * **mysota** The mysota keyword is used to register your own SOTA reference number in SOTA Logging. The syntax is: AA/NN-CCC: Association/Name-3-digit numeric Code (e.g. G/CE-001). Your own SOTA reference number is mandatory for SOTA Logging. * **nickname** The nickname keyword can be used for eQSL ADIF uploads. See chapter Uploading logs to eQSL.cc. -* **date** The date format is year-month-day (YYYY-MM-DD), e.g. 2016-12-31. Year, month and day may be abbreviated and you may use separators other than dash. \ No newline at end of file +* **date** The date format is year-month-day (YYYY-MM-DD), e.g. 2016-12-31. Year, month and day may be abbreviated and you may use separators other than dash. + +## validations +* call \ No newline at end of file