Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#182·go-callvis

README to explain `<target package>`

Author: AndrewWPhillipsCreated May 1, 2024Updated Feb 11, 2025
Labelsdocumentation

Seems like a great tool but the "quick start" in the README needs some work. It's not explained well esp. what is <target package>. It's also not very clear how it works with (just uses Go source files I think) and that it runs a webserver to serve the results (by default). (This was on Windows but I'll also try Linux when I get my Ubuntu laptop working.)

I also googled and checked the Github issues but still could not get it to work.

I tried various things with these errors (cmd shell and git-bash):

go-callvis main # -: package main is not in std (D:\Golang\go1.21.6\src\main)

$ go-callvis main # -: package main is not in GOROOT (C:\Program Files\Go\src\main)

$ go-callvis main.go # C:\Program Files\Go\src\internal\abi\abi.go:117:19: undeclared name: any + 100s more errors

$ go-callvis github.com//test # using the module name (go.mod) got same (above) error

$ go-callvis github.com//test/main # -: no required module provides package github.com//test/main

$ go-callvis test.exe # -: no required module provides package test.exe

There were also other suggestions in other issues for the README. (I'd be happy to update the README once I work out how to use it :)

Source: ondrajz/go-callvis

View original on GitHubView discussion on GitHub