Comment pedantry

This commit is contained in:
Jakob Borg 2015-10-31 11:15:49 +01:00
parent 1fac2f686d
commit cdbc8004fb
3 changed files with 5 additions and 5 deletions

View File

@ -63,7 +63,7 @@ type logger struct {
mut sync.Mutex
}
// The default logger logs to standard output with a time prefix.
// DefaultLogger logs to standard output with a time prefix.
var DefaultLogger = New()
func New() Logger {

View File

@ -31,8 +31,8 @@ import (
"github.com/syncthing/syncthing/lib/sync"
)
// We set the API key via the STGUIAPIKEY variable when we launch the binary,
// to ensure that we have API access regardless of authentication settings.
// APIKey is set via the STGUIAPIKEY variable when we launch the binary, to
// ensure that we have API access regardless of authentication settings.
const APIKey = "592A47BC-A7DF-4C2F-89E0-A80B3E5094EE"
type Process struct {

View File

@ -6,8 +6,8 @@
package upgrade
// This is the public key used to verify signed upgrades. It must match the
// private key used to sign binaries for the built in upgrade mechanism to
// SigningKey is the public key used to verify signed upgrades. It must match
// the private key used to sign binaries for the built in upgrade mechanism to
// accept an upgrade. Keys and signatures can be created and verified with the
// stsigtool utility. The build script creates signed binaries when given the
// -sign option.