From 6656a977cfb1f724cf945017641047bb12f2f127 Mon Sep 17 00:00:00 2001 From: Jasoet Martohartono Date: Mon, 27 Feb 2023 13:27:07 +0700 Subject: [PATCH] fix: add GetVariables function to interface to register it --- pkg/gitlab/group_variables.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/gitlab/group_variables.go b/pkg/gitlab/group_variables.go index 8fa5465..e0d8ad6 100644 --- a/pkg/gitlab/group_variables.go +++ b/pkg/gitlab/group_variables.go @@ -4,6 +4,7 @@ import gl "github.com/xanzy/go-gitlab" type GroupVariables interface { GetVariable(gid interface{}, key string) (*gl.GroupVariable, error) + GetVariables(groupID int, recursive bool) (map[string]string, error) } type groupVariables struct {