From efa6f33b4c67f64a4a8d8cd723b9bbc9494fc735 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sat, 5 Apr 2025 21:47:44 +0800 Subject: Unexport fields in Server --- git_misc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git_misc.go') diff --git a/git_misc.go b/git_misc.go index 8ba10e1..37f427b 100644 --- a/git_misc.go +++ b/git_misc.go @@ -23,7 +23,7 @@ import ( // request/router context in the future, as it cannot cover the nuance of // fields needed. func (s *Server) openRepo(ctx context.Context, groupPath []string, repoName string) (repo *git.Repository, description string, repoID int, fsPath string, err error) { - err = s.Database.QueryRow(ctx, ` + err = s.database.QueryRow(ctx, ` WITH RECURSIVE group_path_cte AS ( -- Start: match the first name in the path where parent_group IS NULL SELECT -- cgit v1.2.3