On 2018-06-18 23:42, Zack Scholl wrote:
Hi Mark,
The meta tag
<meta name="go-import" content="$baseurl fossil $baseurl">
will not work for importing Go code. The first term needs to match the
import path, e.g. "X" in the `go get X` command. And "http(s)://" is
not allowed in the import path for `go get`.
Is there a fossil variable similar to "$baseurl" for the base URL
without the http(s):// ? That could be used instead to replace the
first $baseurl in that meta tag and serve as a valid import path.
I could have sworn this worked when I tested it :) . I don't think the
variable you want exists, but you can use the following instead:
<meta name="go-import" content="<th1>puts [string range $baseurl [expr
[string first : $baseurl]+3] end]</th1> fossil $baseurl">
Mark
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users