mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-23 15:37:01 +00:00
Update Go doc comments to Go 1.19's format
This patch is the result of running Go 1.19's `gofmt` on the codebase, which automatically updates all Go doc comments to the new format. https://tip.golang.org/doc/go1.19#go-doc
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
// Package userdb implements a simple user database.
|
||||
//
|
||||
//
|
||||
// Format
|
||||
// # Format
|
||||
//
|
||||
// The user database is a file containing a list of users and their passwords,
|
||||
// encrypted with some scheme.
|
||||
@@ -13,21 +12,18 @@
|
||||
// Users must be UTF-8 and NOT contain whitespace; the library will enforce
|
||||
// this.
|
||||
//
|
||||
//
|
||||
// Schemes
|
||||
// # Schemes
|
||||
//
|
||||
// The default scheme is SCRYPT, with hard-coded parameters. The API does not
|
||||
// allow the user to change this, at least for now.
|
||||
// A PLAIN scheme is also supported for debugging purposes.
|
||||
//
|
||||
//
|
||||
// Writing
|
||||
// # Writing
|
||||
//
|
||||
// The functions that write a database file will not preserve ordering,
|
||||
// invalid lines, empty lines, or any formatting.
|
||||
//
|
||||
// It is also not safe for concurrent use from different processes.
|
||||
//
|
||||
package userdb
|
||||
|
||||
//go:generate protoc --go_out=. --go_opt=paths=source_relative userdb.proto
|
||||
|
||||
Reference in New Issue
Block a user