MCPcopy Create free account
hub / github.com/driangle/taskmd / resolveToken

Function resolveToken

apps/cli/internal/sync/github/github.go:167–173  ·  view source on GitHub ↗
(envName string)

Source from the content-addressed store, hash-verified

165}
166
167func resolveToken(envName string) (string, error) {
168 token := os.Getenv(envName)
169 if token == "" {
170 return "", fmt.Errorf("environment variable %q is not set", envName)
171 }
172 return token, nil
173}
174
175func buildQueryParams(filters map[string]any) url.Values {
176 params := url.Values{}

Callers 1

FetchTasksMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected