dati

A Go library/binary to parse & execute data against template langauges.
git clone git://src.gearsix.net/dati
Log | Files | Refs | Atom | README | LICENSE

DateCommit messageAuthorFiles+-
2023-08-28 18:13Overhaul to README docs; update to the `-h` for the dati binary.gearsix5+176-137
2023-05-27 12:49template: changes 'hmpl' extension to 'htmpl'gearsix2+43-48
2023-03-16 20:44TODO & CHANGELOG updatesgearsix4+127-133
2023-03-16 20:37data_test.go: fixed failing testgearsix1+0-17
2023-03-16 20:26data.go, test.go: minor fixesgearsix2+4-7
2023-03-16 16:01template.go: typo fixes, should've run testsgearsix1+3-3
2023-03-16 15:54template.go: added (*Template).ExecuteToFilegearsix2+33-0
2023-03-16 15:49TODO: updated notes & added formattinggearsix1+23-8
2023-03-16 15:14CHANGELOG: updated for v1.2.3gearsix1+7-5
2023-03-16 15:07data.go: WriteDataFile now creates a file if it doesn't exist.gearsix1+12-2
2023-02-21 14:26data.go: made sure LoadData always indicates the format being parsedgearsix2+16-4
2023-02-19 13:02updated CHANGELOG (first time since v0.8.0 - oops)gearsix1+30-0
2023-02-18 19:05standardised package errors; added .String() to custom types.gearsix2+50-27
2023-02-14 14:24formatting changes to README.md; added TODO itemsgearsix3+152-143
2023-02-12 14:42minor improvements, better variable names, updated LICENSE dates, etcgearsix8+67-47
2023-02-10 12:22added DataWrite(+test) and DataWriteFile(+tests)gearsix2+142-17
2023-02-08 21:50added TODO filegearsix1+13-0
2023-02-07 12:10added IsDataFormat and IsTemplateLanguage + passing testsgearsix4+54-14
2023-02-03 19:27v1 changes; removed DEPRECIATED code and a few fixesgearsix6+74-178
2023-02-03 17:43renamed Supported*Formatgearsix4+23-23
2023-02-03 17:40modified LoadData/LoadTemplate to use new Supported*Formatgearsix2+9-15
2023-02-03 17:16depreciated {,Is}SupportedTemplateLangs; added SupportedDataFormat ...gearsix2+64-4
2023-02-03 16:32depreciated LoadTemplateFilepath for LoadTemplateFilegearsix2+10-1
2023-02-03 16:19updated data_test.gogearsix1+33-0
2023-02-03 16:01depreciated {,Is}SupportedDataLangs; added SupportedDataFormat ...gearsix1+39-9
2023-02-03 15:45renamed LoadDataFilepath -> LoadDataFile (depreciated LoadDataFilepath)gearsix1+6-1
2022-03-18 15:00REBRAND to 'dati - data and template interface'gearsix14+346-341
2022-03-17 21:09regressed compatibility - builds with go1.13gearsix7+14-309
2021-10-07 12:37cleanup for v0.7.0 releasegearsix5+32-26
2021-10-07 12:28fixed .Name assignmentgearsix1+3-6
2021-10-06 15:04refactor tidyup, split LoadTemplate upgearsix1+66-49
2021-10-06 14:48gofmtgearsix2+38-39
2021-10-06 14:44error catch in (t *Template).Execute(); template_test amendmentgearsix2+16-11
2021-10-05 17:47suti.Template.Source -> suti.Template.Name; updated cmd/suti_test.shgearsix6+30-27
2021-10-04 21:29finished template_test refactor to catchup with templategearsix2+62-74
2021-10-04 20:30rewrote TextExecute - tidyupgearsix1+55-86
2021-10-03 13:13tidyup refactorsgearsix1+12-11
2021-10-02 16:28refactored LoadTemplateFilepath to use LoadTemplategearsix1+29-118
2021-10-02 15:47new LoadTemplate funcs accept params to name of root & partialsgearsix2+66-54
2021-10-02 14:02renamed LoadTemplateFile -> LoadTemplateFilepathgearsix5+334-22
2021-10-02 12:41refactored LoadTemplateStrings into LoadTemplategearsix2+50-21
2021-10-01 23:37Merge branch 'LoadTemplateString'gearsix2+167-35
2021-10-01 23:35finished LoadTemplateString & testsgearsix2+116-46
2021-10-01 21:53added test for LoadTemplateStringTmplgearsix2+43-1
2021-09-29 23:22loadTemplateFile* -> LoadTemplateFile*gearsix1+9-6
2021-09-29 23:21added LoadTemplateStringTmplgearsix1+25-2
2021-07-28 12:50added tests for IsSupported*; improvements & fixesgearsix4+67-3
2021-07-28 12:21added template.go#SupportedTemplateLangs,IsSupportedTemplateLangs()gearsix1+18-0
2021-07-27 13:35added data.go#SupportedDataLangs,IsSupportedDataLang()gearsix1+24-4
2021-07-06 10:13added .Source to suti.Templategearsix1+2-1
2021-07-02 19:03template.go - tidyup; refactored Template.Execute()gearsix1+29-28
2021-07-02 18:55typo fixgearsix1+1-1
2021-06-03 12:54minor fix to print in data.go; Error->Fatal in *_test.go filesGeaRSiX4+25-25
2021-04-27 16:29moretidyupgearsix3+3-4
2021-04-27 16:22ran gofmtgearsix4+12-14
2021-04-13 10:55caught up with CHANGELOGgearsix1+29-2
2021-04-13 10:24refactored cmd/suti.go to work with new APIgearsix2+89-19
2021-04-13 10:24updated template_test.go to new data apigearsix1+12-15
2021-04-13 10:22added file.go to provide SortFileList()gearsix2+173-0
2021-04-13 10:18major rework to data.go; made api more in-line with std golibgearsix2+52-334
2021-04-11 15:56bugfixes, typo for mustache extensionsgearsix1+5-5
2021-04-11 14:02renamed ExecuteTemplate -> Execute; Execute takes interface{} (not Data)gearsix3+16-16
2021-04-11 01:59renamed ExecuteTemplate -> Executegearsix1+2-2
2021-04-11 01:54go.sum updategearsix1+146-0
2021-04-11 01:54added cmd/suti_test.gogearsix3+588-0
2021-04-11 01:53updated suti.go to use new Templategearsix1+2-2
2021-04-10 23:22made Template a structgearsix2+32-26
2021-04-10 22:45improved error messaginggearsix1+3-0
2021-04-09 16:39filename fix in example/logs/gearsix1+0-0
2021-04-09 14:17added CHANGELOG for futuregearsix1+8-0
2021-04-09 14:01using notabug.org as git homegearsix2+2-2
2021-04-09 14:00updated doc for GenerateSuperDatagearsix1+1-2
2021-03-30 11:16directories passed in the partials arg now get parsed recursivelygearsix3+22-8
2021-03-28 16:48moved docs/suti.txt -> README; formatting fixes in *.gogearsix6+204-192
2021-03-25 11:53minor amendment to docsgearsix1+7-5
2021-03-25 11:48added --helpgearsix1+45-0
2021-03-25 11:44typo fixgearsix1+1-1
2021-03-25 11:42added support for -flag=arg argument syntaxgearsix1+8-2
2021-03-22 00:28small tidyup work in examples/gearsix32+25-22
2021-03-21 17:22standardized pkg layout; bugfixes & refactorsgearsix13+1075-1030
2021-03-20 21:00added a v.cool examplegearsix35+350-0
2021-03-20 14:36tidied suti.go into multiple funcsgearsix1+64-39
2021-03-17 17:27added GPLv3 license; added mustache supportgearsix9+1457-84
2021-03-17 12:44big refactor & tidyupgearsix7+240-320
2021-03-15 15:52added result validation to template_test.go; bugfixes in template.gogearsix3+98-17
2021-03-15 14:46trimmed extra newlines from warn printsgearsix1+5-5
2021-03-15 14:45added toml support to data parsinggearsix2+129-100
2021-03-15 13:19minor improv to err handling in LoadTemplateFilegearsix3+27-54
2021-03-14 13:21added yaml support; ran gofmtgearsix6+134-77
2021-03-13 13:40added some comment doc to data.go; split sortFileDatagearsix1+84-54
2021-03-13 13:19moved suti.txt to doc/gearsix2+126-127
2021-03-13 13:07added config file parsing to initgearsix1+31-6
2021-03-09 20:35finished main(); only accept 1 root templategearsix2+16-18
2021-03-09 20:26added TestExecuteTemplategearsix1+40-8
2021-03-08 17:28added ExecuteTemplategearsix1+25-0
2021-03-06 12:21added tests for GenerateSuperData and MergeDatagearsix1+78-17
2021-03-04 18:19added MergeData(), started work on GenerateSuperDatagearsix1+31-2
2021-03-04 17:42added sort order options to sortData (-asc/-desc)gearsix4+74-26
2021-03-03 21:14added sortFileData & tests for checking it; ran gofmtgearsix5+149-51
2021-03-01 20:50fixing in data.go; added support for glob pathsgearsix3+98-64
2021-02-27 16:34made template & data types publicgearsix4+11-11
2021-02-26 19:39added template_test.gogearsix1+78-0
2021-02-16 18:07added template.gogearsix3+73-1
2021-02-16 15:16modified the argument names; updated suti.txtgearsix2+69-60
2021-02-14 23:54merged LoadDataFile into LoadDataFilesgearsix2+25-47
2021-02-14 16:02added tests for data.go funcsgearsix1+83-0
2021-02-14 13:19moved suti.go -> src/; added src/data.go;gearsix3+168-157
2021-02-11 20:09suti.go: added data parsinggearsix1+98-16
2021-02-11 15:37added suti.go; finished first-pass on parseArgsgearsix1+75-0
2021-02-10 20:47git init; added man1 .txt specgearsix1+121-0