MCPcopy Create free account
hub / github.com/Evertras/go-interface-examples / GetUser

Method GetUser

local-interfaces/db/db.go:33–39  ·  view source on GitHub ↗

GetUser returns a user's full information from the database Notice this returns a User, which is part of this package. This means that any interface that wants to use GetUser will tie itself to this package. This is often unavoidable for any non-trivial returns, but it's a tradeoff to be aware of

(ctx context.Context, id string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected