dati

data and template interface
git clone git://git.gearsix.net/dati
Log | Files | Refs | Atom | README | LICENSE

commit 121da318adc0d135b24dba0119d4eec9e1ad484a
parent 90c911163d8b5a9fa7cc42396ed3e8920892abc5
Author: gearsix <gearsix@tuta.io>
Date:   Tue, 13 Apr 2021 11:55:24 +0100

caught up with CHANGELOG

Diffstat:
MCHANGELOG | 31+++++++++++++++++++++++++++++--
1 file changed, 29 insertions(+), 2 deletions(-)

diff --git a/CHANGELOG b/CHANGELOG @@ -1,8 +1,35 @@ # CHANGELOG -## v1.0.0 +## v0.2.0 + +- massive refactored to data API: + - removed type Data, user will want to use their own data types + - LoadData() and LoadDataFile() now takes an interface{} (pointer) to write the result to + - removed LoadDataFiles(), bulk loading is now user responsibility + - removed GenerateSuperData() & MergeData(), these were superfluous fucntions +- added file.go, which currently only has SortFileList() to stand-in for the missing data sort +functionality found in LoadDataFiles() +- refactored cmd/suti.go to work with the new API, no functional changes +- ".mustache" is now accepted as a mustache file extension (as intended) +- bugfixes + +## v0.1.1 + +- updated everything to use the new (t *Template).Execute() + +## v0.1.0 + +- type Template now a struct, the Template interface is accessed via (t *Template).Template +- ExecuteTemplate -> (t *Template).Execute() +- (t *Template).Execute() takes an interface{} param to execute against (not Data) +- improved error messaging + +## v0.0.0 first release! -see git log, or README +- fully doc'd in README & src comments +- examples/ +- first iteration of suti API +- cmd/suti.go