MCPcopy Index your code
hub / github.com/tailscale/tailscale / firstLabel

Function firstLabel

tsnet/example_tshello_test.go:17–20  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

15)
16
17func firstLabel(s string) string {
18 s, _, _ = strings.Cut(s, ".")
19 return s
20}
21
22// Example_tshello is a full example on using tsnet. When you run this program it will print
23// an authentication link. Open it in your favorite web browser and add it to your tailnet

Callers 1

Example_tshelloFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…