switch to vanity import path

This commit is contained in:
Josh Deprez 2024-10-18 13:05:25 +11:00
parent ca2f1a2875
commit cb8e380601
3 changed files with 6 additions and 6 deletions

View file

@ -4,7 +4,7 @@
// Use of this source code is governed under the Apache License, Version 2.0
// that can be found in the LICENSE file.
package main
package main // import "drjosh.dev/ina219-exporter"
import (
"flag"
@ -18,7 +18,7 @@ import (
"syscall"
"time"
"gitea.drjosh.dev/josh/jmetrics"
"drjosh.dev/jmetrics"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promauto"
"github.com/prometheus/client_golang/prometheus/promhttp"

4
go.mod
View file

@ -1,9 +1,9 @@
module gitea.drjosh.dev/josh/ina219-exporter
module drjosh.dev/ina219-exporter
go 1.23.1
require (
gitea.drjosh.dev/josh/jmetrics v0.0.2
drjosh.dev/jmetrics v0.0.3
github.com/prometheus/client_golang v1.20.4
periph.io/x/conn/v3 v3.7.1
periph.io/x/devices/v3 v3.7.1

4
go.sum
View file

@ -1,5 +1,5 @@
gitea.drjosh.dev/josh/jmetrics v0.0.2 h1:k3qollGGryN46ZJSc2QE7o8Qc5tjAkI/etGhOPc3uMg=
gitea.drjosh.dev/josh/jmetrics v0.0.2/go.mod h1:2nQ3pf8j3kSfLIjRVWrKWuWGPjh/TKnu7MDx6PFb4BM=
drjosh.dev/jmetrics v0.0.3 h1:6xBfQQG4qzOLJeoQRD0gzmQqB3XkQueLYnCT/YqPR0A=
drjosh.dev/jmetrics v0.0.3/go.mod h1:unknXjbR6aU7nTtXi80zvZLwTQdxEvoRtgIi4vCWx/g=
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=