From 6dc1fb0aecf195b26982566fd883e0bfafe103dc 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 | 5 ++++- notes/protocol.md | 10 +++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/notes/enableGo.md b/notes/enableGo.md index 3d62538..b374e0f 100644 --- a/notes/enableGo.md +++ b/notes/enableGo.md @@ -36,4 +36,7 @@ Cobra documentation available at https://github.com/spf13/cobra/blob/master/cobr * useful site: https://regex101.com * [Regex to verify Hamradio callsign and retrieve prefix](https://regex101.com/library/6QhGuD) * [Hamradio callsign](https://regex101.com/library/uP6xD2) -* [Verify amateur radio call sign meets ITU format](https://regex101.com/library/gS6qG8) \ No newline at end of file +* [Verify amateur radio call sign meets ITU format](https://regex101.com/library/gS6qG8) + +## Parsing 2 +* [Effective text parsing in golang](https://medium.com/@TobiasSchmidt89/effective-text-parsing-in-golang-163d13784288) 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