MCPcopy Create free account
hub / github.com/koding/kite / username

Method username

kitetest/kitetest.go:49–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47}
48
49func (k *KiteKey) username() string {
50 if k.Username != "" {
51 return k.Username
52 }
53
54 u, err := user.Current()
55 if err != nil {
56 panic(err)
57 }
58
59 return u.Username
60}
61
62func (k *KiteKey) issuedAt() int64 {
63 if k.IssuedAt != 0 {

Callers 1

GenerateKiteKeyFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected