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 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() var DefaultLogger = New()
func New() Logger { func New() Logger {

View File

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

View File

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