v5.0.0
Breaking Change
Usage changes from
//go:generate go run github.com/rebuy-de/rebuy-go-sdk/v4/cmd/cdnmirror bulma
to
//go:generate go run github.com/rebuy-de/rebuy-go-sdk/v5/cmd/cdnmirror --source https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css --target bulma-0.9.4.min.css
With the usage of go:generate -command
a replacement of all possible assets looks like this:
//go:generate -command cdnmirror go run github.com/rebuy-de/rebuy-go-sdk/v4/cmd/cdnmirror
//go:generate cdnmirror --source https://unpkg.com/@hotwired/[email protected]/dist/turbo.es2017-umd.js --target hotwired-turbo-7.1.0-min.js --minify js
//go:generate cdnmirror --source https://unpkg.com/[email protected]/dist/css/bootstrap.min.css --target bootstrap-5.1.3-min.css
//go:generate cdnmirror --source https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/sprites/solid.svg --target font-awesome-6.1.2-sprites-solid.svg
//go:generate cdnmirror --source https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css --target bulma-0.7.4.min.css
Full Changelog: v4.5.1...v5.0.0