Skip to content
This repository was archived by the owner on Jul 27, 2021. It is now read-only.

Releases: caltechlibrary/tmplfn

Citation updates

27 Jul 16:18

Choose a tag to compare

Added CITATION.cff, codemeta.json, updated Makefile bringing them in line with current Caltech Library Golang based projects.

Removed Blackfriday, Blue Monday and Markdown support

27 Jul 16:50

Choose a tag to compare

I never used the Markdown support in templates in practice. This is an unnecessary dependency in light of the fact that Markdown work is migrating from Blackfriday to Gomarkdown and Mmarkdown.

Updated blackfriday markdown processor support

23 Jul 17:15

Choose a tag to compare

In this release blackfriday markdown parser package is not using a forked version at Caltech Library. This is track v2 of the package from master rather than manually have to pull the git repo, switch branches or rely on the stale gopkg reference.

Go module support

22 Mar 22:09

Choose a tag to compare

Added Go module support.

Initial Release

12 Dec 17:07

Choose a tag to compare

This package provides extended text/template functionality to Caltech Library's go packages and programs requiring template support.

number improvements

31 May 19:31

Choose a tag to compare

number improvements Pre-release
Pre-release

Re-organized functions across Time, Math, Strings, Page, Iterations, and Dotpath.
Added AllFuncs() method to pull in app the mappings easily.
Added tmplfn/numbers with a simplified number rationalization while supporting Go's int and float types plus json.Number.
Added a Makefile to make it easily to test both tmplfn and tmplfn/numbers.

Reorganizing, adding Function Maps

26 May 20:18

Choose a tag to compare

Pre-release
  • Reorganizing functions in various Maps
  • Added DotpathMap
  • Added IterationMap

Functions that would return errors in Go have last argument of default values that can be returned.

refining functions

26 May 17:26

Choose a tag to compare

refining functions Pre-release
Pre-release
  • renamed atList to join
  • removed stringJoin as redundant
  • added forIntegers that returns an array of ints from a start, end and inc value

template source maps and template maps

24 May 17:24

Choose a tag to compare

Pre-release

Added function to take a map of template sources and return a map of source names and templates.