MCPcopy Create free account
hub / github.com/evilsocket/sum / NewContext

Function NewContext

wrapper/context.go:16–18  ·  view source on GitHub ↗

NewContext creates a new *Context object.

()

Source from the content-addressed store, hash-verified

14
15// NewContext creates a new *Context object.
16func NewContext() *Context {
17 return &Context{}
18}
19
20// Error sets this context to an error state with the given message.
21func (ctx *Context) Error(msg string) {

Callers 1

TestWrapperContextFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestWrapperContextFunction · 0.68