madneal / madneal/fullstack-interview

code

Open
#7 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
47
Forks
16
PR merge metrics
No merged PRs in 30d

Description

func gcpBelongByToken(token string) string {
    if token == "" {
        return ""
    }

    for _, cfg := range config.Get()GCPConf {
        if cfg.FetchVulnAuth != "" &&
            cfg.FetchVulnAuth == token {
            return cfg.Name
        }
    }

    return ""
}

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue contains only a Go function snippet and does not name a file, test, requested change, or completion condition. Start by locating gcpBelongByToken and the GCPConf definition in the repository, then clarify the intended behavior and add or update tests once the scope is agreed.

Written by the indexing model from the issue text.

Assessment

Tech stack
gcp, go
Domain
cloud
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.