Skip to content

Releases: koddr/gosl

v1.6.0

24 Jun 06:12
Compare
Choose a tag to compare

⚙️ The v1.6.0 release

Changelog

Features

  • Add feature: ParseFileToStruct

Updates

  • Update README.md
  • Update tests

Install or update

go get -u github.com/koddr/gosl

💡 Note: Basic usage and full code examples of all functions of the gosl package, you can find on the pkg.go.dev page.

Your help to improve project

I'd be truly grateful for help with:

  • Creating a new Go snippets (with tests & benchmarks)
  • Improve an existing Go snippets, tests, or benchmarks
  • Feature requests with interesting snippets that make life easier when writing Go programs that would be good to add

Your PRs & issues are welcome! Thanks 😉

v1.5.0

19 Jun 07:13
Compare
Choose a tag to compare

⚙️ The v1.5.0 release

Changelog

Features

  • Add feature: ModifyByValue
  • Add feature: benchmark for ModifyByValue

Bug fixes

  • Fix .codecov.yml
  • Fix comment
  • Fix go-critic issue (ModifyByValue)

Updates

  • Update README.md

Install or update

go get -u github.com/koddr/gosl

💡 Note: Basic usage and full code examples of all functions of the gosl package, you can find on the pkg.go.dev page.

Your help to improve project

I'd be truly grateful for help with:

  • Creating a new Go snippets (with tests & benchmarks)
  • Improve an existing Go snippets, tests, or benchmarks
  • Feature requests with interesting snippets that make life easier when writing Go programs that would be good to add

Your PRs & issues are welcome! Thanks 😉

v1.4.0

14 Jun 05:49
Compare
Choose a tag to compare

⚙️ The v1.4.0 release

Changelog

Features

  • Add new feature: ParseFileWithEnvToStruct

Bug fixes

  • Fix Codecov workflow
  • Fix IsFileExist, IsDirExist
  • Fix ParseFileWithEnvToStruct
  • Fix go-critic issue
  • Fix tests: ParseFileWithEnvToStruct, RandomString
  • Fix workflows

Updates

  • Update README.md
  • Update dependencies

Others

  • Add tests for ParseFileWithEnvToStruct
  • Exclude gosec G303 from hooks
  • Set Codecov target to 92%

Install or update

go get -u github.com/koddr/gosl

💡 Note: Basic usage and full code examples of all functions of the gosl package, you can find on the pkg.go.dev page.

Your help to improve project

I'd be truly grateful for help with:

  • Creating a new Go snippets (with tests & benchmarks)
  • Improve an existing Go snippets, tests, or benchmarks
  • Feature requests with interesting snippets that make life easier when writing Go programs that would be good to add

Your PRs & issues are welcome! Thanks 😉

v1.3.0

12 Jun 10:49
Compare
Choose a tag to compare

⚙️ The v1.3.0 release

Changelog

Features

  • Add new features: IsFileExist, IsDirExist

Bug fixes

  • Fix Go workflows

Others

  • Add new hooks to .goreleaser.yml

Install or update

go get -u github.com/koddr/gosl

💡 Note: Basic usage and full code examples of all functions of the gosl package, you can find on the pkg.go.dev page.

Your help to improve project

I'd be truly grateful for help with:

  • Creating a new Go snippets (with tests & benchmarks)
  • Improve an existing Go snippets, tests, or benchmarks
  • Feature requests with interesting snippets that make life easier when writing Go programs that would be good to add

Your PRs & issues are welcome! Thanks 😉

v1.2.0

09 Jun 19:24
Compare
Choose a tag to compare

⚙️ The v1.2.0 release

Changelog

Features

  • Add new feature: GoReleaser
  • Add new generic features: Equals, NotEquals

Bug fixes

  • Fix .gitignore
  • Fix .gitignore, .goreleaser.yml
  • Fix .goreleaser.yml
  • Fix .goreleaser.yml
  • Fix .goreleaser.yml
  • Fix workflows

Updates

  • Update .github folder
  • Update .github folder
  • Update .github folder
  • Update .github folder
  • Update .github folder
  • Update README.md
  • Update README.md
  • Update README.md
  • Update README.md
  • Update README.md
  • Update README.md & renders comment

Others

  • Bump github.com/stretchr/testify from 1.8.3 to 1.8.4
  • Merge pull request #2 from koddr/dependabot/go_modules/github.com/stretchr/testify-1.8.4

Install or update

go get -u github.com/koddr/gosl

💡 Note: Basic usage and full code examples of all functions of the gosl package, you can find on the pkg.go.dev page.

Your help to improve project

I'd be truly grateful for help with:

  • Creating a new Go snippets (with tests & benchmarks)
  • Improve an existing Go snippets, tests, or benchmarks
  • Feature requests with interesting snippets that make life easier when writing Go programs that would be good to add

Your PRs & issues are welcome! Thanks 😉

v1.1.0

26 May 08:50
Compare
Choose a tag to compare

✨ The v1.1.0 update release

  • Add RenderStyled function
  • Fix tests & bench

Full Changelog: v1.0.0...v1.1.0

Install or update

go get -u github.com/koddr/gosl

💡 Note: basic usage and full code examples of all functions of the gosl package, you can find on the pkg.go.dev page.

Your help to improve project

I'd be truly grateful for help with:

  • Creating a new Go snippets (with tests & benchmarks)
  • Improve an existing Go snippets, tests, or benchmarks
  • Feature requests with interesting snippets that make life easier when writing Go programs that would be good to add

Your PRs & issues are welcome! Thanks 😉

v1.0.1

17 May 07:24
Compare
Choose a tag to compare

⚙️ The v1.0.1 patch release

  • Update README
  • Fix Concat function
  • Fix tests

Full Changelog: v1.0.0...v1.0.1

Install or update

go get -u github.com/koddr/gosl

💡 Note: basic usage and full code examples of all functions of the gosl package, you can find on the pkg.go.dev page.

Your help to improve project

I'd be truly grateful for help with:

  • Creating a new Go snippets (with tests & benchmarks)
  • Improve an existing Go snippets, tests, or benchmarks
  • Feature requests with interesting snippets that make life easier when writing Go programs that would be good to add

Your PRs & issues are welcome! Thanks 😉

v1.0.0

10 May 09:12
Compare
Choose a tag to compare

🎉 The v1.0.0 release

After several weeks, I can finally proudly release version v1.0.0 of the gosl package, which includes such Go snippets as:

  • elegant Concat for strings
  • friendly reporters for:
    • ContainsCaseInsensitive, if substring is within string (case-insensitive by default)
    • ContainsInSlice, if value is within slice
    • ContainsInMap, if key is within map
  • fast converters:
    • ToString, byte slice to string or error
    • ToBytes, string to byte slice or error
  • is actually a true RandomString generator
  • incredibly speedy Marshal and Unmarshal for JSON (using json-iterator/go)

Basic usage and full code examples of all functions of the gosl package, you can find on the pkg.go.dev page.

Your help to improve project

I'd be truly grateful for help with:

  • Creating a new Go snippets (with tests & benchmarks)
  • Improve an existing Go snippets, tests, or benchmarks
  • Feature requests with interesting snippets that make life easier when writing Go programs that would be good to add

Your PRs & issues are welcome! Thanks 😉