From 655b6b211ae6df0186abd740f248939f7ddeaec1 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 31 Mar 2025 16:59:18 +0800 Subject: Add descriptive comments to most Go functions --- users.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'users.go') diff --git a/users.go b/users.go index 5f5a4b2..f0dabce 100644 --- a/users.go +++ b/users.go @@ -9,6 +9,9 @@ import ( "github.com/jackc/pgx/v5" ) +// addUserSSH adds a new user solely based on their SSH public key. +// +// TODO: Audit all users of this function. func addUserSSH(ctx context.Context, pubkey string) (userID int, err error) { var txn pgx.Tx -- cgit v1.2.3