From 2a480f6b856367ac5cc0102c4ae92eb6814228da Mon Sep 17 00:00:00 2001 From: Shulhan Date: Sun, 5 Jul 2020 20:29:16 +0700 Subject: Release ciigo v0.2.0 (2020-07-05) * all: simplify serving content using function Serve Previously to serve the generated content we call two fucntions: NewServer() and Server.Start(). This changes unexported the internal server, and expose only the Serve() function with the same parameter as NewServer(). * all: embed the HTML template and the stylesheet The parameter for template either in Convert or Generate functions or in CLI now become pure optional, not default to "templates/html.tmpl" anymore. This will minimize steps for user to setup or run the library or program. --- CHANGELOG.adoc | 18 ++++++++++++++++-- go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 19 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index 7ae4b4e..a2ce986 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -1,6 +1,20 @@ -# CHANGELOG += CHANGELOG -## ciigo v0.1.1 (2020-03-24) +== ciigo v0.2.0 (2020-07-05) + +* all: simplify serving content using function Serve + Previously to serve the generated content we call two fucntions: + NewServer() and Server.Start(). + This changes unexported the internal server, and expose only the Serve() + function with the same parameter as NewServer(). + +* all: embed the HTML template and the stylesheet + The parameter for template either in Convert or Generate functions or + in CLI now become pure optional, not default to "templates/html.tmpl" + anymore. + This will minimize steps for user to setup or run the library or program. + +== ciigo v0.1.1 (2020-03-24) The first release support asciidoc and markdown markup language. diff --git a/go.mod b/go.mod index 5f09f90..9426afb 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/onsi/ginkgo v1.12.3 // indirect github.com/pkg/errors v0.9.1 // indirect github.com/sergi/go-diff v1.1.0 // indirect - github.com/shuLhan/share v0.16.1-0.20200627020222-d13579896847 + github.com/shuLhan/share v0.17.0 github.com/sirupsen/logrus v1.6.0 // indirect github.com/yuin/goldmark v1.1.32 github.com/yuin/goldmark-meta v0.0.0-20191126180153-f0638e958b60 diff --git a/go.sum b/go.sum index ac14ad0..e91dcf5 100644 --- a/go.sum +++ b/go.sum @@ -55,8 +55,8 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= github.com/sergi/go-diff v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0= github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= -github.com/shuLhan/share v0.16.1-0.20200627020222-d13579896847 h1:95W8Oa8zy80r16qWUIvozQ1LI1Z922/qbqVPfU02yQ4= -github.com/shuLhan/share v0.16.1-0.20200627020222-d13579896847/go.mod h1:FqPloTQlDTAmMXxaWft/V5tPmxEHBJeyJMAzVm4/1og= +github.com/shuLhan/share v0.17.0 h1:S7PpkWdp+BZVGHNU0wmUmhybvVwDp7jiQSBYeBpPBS0= +github.com/shuLhan/share v0.17.0/go.mod h1:FqPloTQlDTAmMXxaWft/V5tPmxEHBJeyJMAzVm4/1og= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.6.0 h1:UBcNElsrwanuuMsnGSlYmtmgbb23qDR5dG+6X6Oo89I= github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= -- cgit v1.3