Skip to content
This repository was archived by the owner on Dec 10, 2024. It is now read-only.
This repository was archived by the owner on Dec 10, 2024. It is now read-only.

Visibility field is always empty  #2002

@janderssonse

Description

@janderssonse

Hello and thanks for all work with the library! I think a found a bug -> the visibility field is always empty. Tried the library on a few repositories and this seems consistent. Here is an example to illustrate:

package main

import (
	"fmt"

	"github.com/xanzy/go-gitlab"
)

func main() {
	git, _:= gitlab.NewClient("")

	gitlabProject,_, _ := git.Projects.GetProject("hanklank"+"/"+"quark-demo-api", nil)
	fmt.Println(gitlabProject)
}

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions