fix
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/tag/woodpecker Pipeline was successful Details

This commit is contained in:
a 2023-05-03 00:47:57 -05:00
parent 7572ea4e2c
commit 6267829f68
4 changed files with 12 additions and 6 deletions

View File

@ -7,7 +7,7 @@ import (
"os/signal"
"syscall"
"git.tuxpa.in/a/pprofweb/cli"
"tuxpa.in/a/pprofweb/cli"
"github.com/alecthomas/kong"
)

View File

@ -47,12 +47,18 @@ works with whatever works in the command line (it just runs go tool pprof in the
<p>
u can also use curl! basically it checks if your Accept headers have "http", and if not, then it will not redirect, and will send the id instead
curl -F file=@<filename> https://pprof.tuxpa.in/upload
</p>
<p>
i also made a simple cli
you can download it by doing
</p>
<p>
go install tuxpa.in/a/pprofweb
</p>
</body>
</html>
`

View File

@ -14,7 +14,7 @@ import (
"time"
"gfx.cafe/util/go/generic"
"git.tuxpa.in/a/pprofweb/flagset"
"tuxpa.in/a/pprofweb/flagset"
"github.com/go-chi/chi/v5"
"github.com/google/pprof/driver"
"github.com/rs/xid"

View File

@ -5,7 +5,7 @@ import (
"net/http"
"os"
"git.tuxpa.in/a/pprofweb/pprofweb"
"tuxpa.in/a/pprofweb/pprofweb"
"github.com/go-chi/chi/v5"
"github.com/go-chi/chi/v5/middleware"
"github.com/spf13/afero"