Skip to content

Releases: quii/learn-go-with-tests

Various tweaks and fixes

02 Aug 06:53
Compare
Choose a tag to compare
12.8.0

lets not do closures on chapter 1

Fixed typo in revisiting arrays and slices

13 Apr 07:31
Compare
Choose a tag to compare
12.7.1

bad copy and paste

Revisiting arrays and slices with generics

13 Apr 07:23
Compare
Choose a tag to compare
12.7.0

add new generics chapter to toc

Generic fixes

19 Mar 14:10
Compare
Choose a tag to compare
12.6.1

remove some past-tense-ness

Generics

19 Mar 09:23
Compare
Choose a tag to compare
12.6.0

just comment out everything until it works

Various corrections from open source friends

26 Feb 14:40
187c40a
Compare
Choose a tag to compare
Added additional context to example changes for the 'it returns acept…

…ed on POST' (#525)

As written it was a bit confusing the exact change that needed to be made, so I dug into the example code to look up where it was to go. The main bit of confusion was the name of the test changed. 

I've added the rest of the function around the previous code snippet to add additional context

New chapter: Templating

18 Jan 09:46
75f85b1
Compare
Choose a tag to compare
Fix file name BlindAlerter.go to blind_alerter.go in websockets.md (#…

…510)

Perhaps the return of PDF

17 Nov 16:33
aad7a5b
Compare
Choose a tag to compare
PDF generation fixes (#503)

* Issue: Automate the gofmt in markdown files using gofmtmd during build
Issue Link: https://github.com/quii/learn-go-with-tests/issues/353
Modifications:
* Modified the build script to download and run the gofmtmd tool on the markdown files
* Ran the script locally and fixed the issues reported by gofmtmd tool

Note: Intro to generics md file contains some syntax related to generics which is not recognised by the tool. So some valid
code fences are not marked as go

* Issue: Errors regarding epubcheck
Issue Link: https://github.com/quii/learn-go-with-tests/issues/420
Solution:
* Corrected the SVG syntax by omitting the  version tag and dtd info
* Minorr markup corrections in md files

Test Case:
* Ran build books script locally and is able to view the generated epub file
* Added newly created epub file to Google Play books and is able to read the book

* Issue: PDF generation build fixes
Issue link: https://github.com/quii/learn-go-with-tests/issues/205
Solution:
1. Created a custom docker image with fonts needed for CJK support and some fonts
2. Updated the build script to use the custom pandoc image
Test case:
1. Ran the build script locally and verified that the books generation is successful

* Update go.yml to add support to upload assets 

Made changes to GH actions to add generated epub and PDF to the release once published

* Corrected the yaml format

* Made changes to add cover page before the toc

QOL fixed and hopefully fixed issue with google reader and epub

07 Nov 09:00
5b32960
Compare
Choose a tag to compare
Fix for epub rejected by Google Play Books, EPUBCheck (#500)

* Issue: Automate the gofmt in markdown files using gofmtmd during build
Issue Link: https://github.com/quii/learn-go-with-tests/issues/353
Modifications:
* Modified the build script to download and run the gofmtmd tool on the markdown files
* Ran the script locally and fixed the issues reported by gofmtmd tool

Note: Intro to generics md file contains some syntax related to generics which is not recognised by the tool. So some valid
code fences are not marked as go

* Issue: Errors regarding epubcheck
Issue Link: https://github.com/quii/learn-go-with-tests/issues/420
Solution:
* Corrected the SVG syntax by omitting the  version tag and dtd info
* Minorr markup corrections in md files

Test Case:
* Ran build books script locally and is able to view the generated epub file
* Added newly created epub file to Google Play books and is able to read the book

Improvements to reading files and maths chapters

11 Jun 17:18
Compare
Choose a tag to compare