Skip to content

0.6.0 - Middleware and import rationalization

Compare
Choose a tag to compare
@gagbo gagbo released this 06 Jun 08:24
· 24 commits to main since this release
6c3f7a6

Version 0.6.0

Check the Changelog for more information.

The most important point to not miss, is the change of imports for autometrics. It follows a more idiomatic path to reduce the possibilities of typos and confusion:

import (
-	autometrics "github.com/autometrics-dev/autometrics-go/pkg/autometrics/prometheus"
+	"github.com/autometrics-dev/autometrics-go/prometheus/autometrics"
)

You can (and should) use a global search and replace in the project to change the imports if you were already using this!