dedent
dedent copied to clipboard
Remove any common leading whitespace from multiline strings
(sorry for the previous polluted pull request, my git-fu seems to be weak!)
**Breaking change!** I realise that this would be a breaking change that you might not desire. I'm happy using my fork of this library for my own projects, but I...
running code from readme does not seem to remove the initial empty line ```bash $ cat dedent.go //go:build exclude package main import ( "fmt" "github.com/lithammer/dedent" ) func main() { s...
Will work with ``` a := dedent.Dedent(` asdfasdfasfd asdfasdfasdfasdf asdf asdf` ) b := dedent.Dedent(`asdfasdfasfd asdfasdfasdfasdf asdf asdf` ) ```
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 4.0.0 to 5.1.0. Release notes Sourced from golangci/golangci-lint-action's releases. v5.1.0 What's Changed Changes feat: support for pull and merge_group events with the option only-new-issues by @ldez in...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 4.0.0 to 6.0.1. Release notes Sourced from golangci/golangci-lint-action's releases. v6.0.1 What's Changed Changes fix: use 3-dots syntax for diff on push by @ldez in golangci/golangci-lint-action#1040 Full Changelog:...