Skip to content

Commit

Permalink
Update go module to github.com/gdwr/jetson-exporter
Browse files Browse the repository at this point in the history
Rename gomodule to jetson-exporter
  • Loading branch information
GDWR committed Feb 3, 2024
1 parent ba51e49 commit 05f223c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ dist/jetson-exporter_0.0.1_arm64.deb:

cp deploy/debian/* dist/jetson-exporter/DEBIAN/
cp deploy/jetson-exporter.service dist/jetson-exporter/lib/systemd/system
GOARCH=arm64 go build -o dist/jetson-exporter/usr/bin/jetson-exporter cmd/jetson_exporter.go
GOARCH=arm64 go build -o dist/jetson-exporter/usr/bin/jetson-exporter cmd/jetson-exporter.go

dpkg-deb --build dist/jetson-exporter dist/jetson-exporter.0.1_arm64.deb

Expand Down
9 changes: 5 additions & 4 deletions cmd/jetson_exporter.go → cmd/jetson-exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@ package main

import (
"bufio"
"net/http"
"os"
"os/exec"

"github.com/gdwr/jetson-exporter/pkg/tegrastats"
"github.com/go-kit/log/level"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promauto"
"github.com/prometheus/client_golang/prometheus/promhttp"
"github.com/prometheus/common/promlog"
"jetson_exporter/pkg/tegrastats"
"net/http"
"os"
"os/exec"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module jetson_exporter
module github.com/gdwr/jetson-exporter

go 1.21

Expand Down

0 comments on commit 05f223c

Please sign in to comment.