1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2024-11-25 09:21:11 +02:00

[#4510] fixed godoc typos

This commit is contained in:
Gani Georgiev 2024-03-07 11:53:54 +02:00
parent e5e2519f88
commit adab0da179
3 changed files with 4791 additions and 4809 deletions

View File

@ -463,7 +463,7 @@ type BackupsConfig struct {
// Leave it empty to disable the auto backups functionality. // Leave it empty to disable the auto backups functionality.
Cron string `form:"cron" json:"cron"` Cron string `form:"cron" json:"cron"`
// CronMaxKeep is the the max number of cron generated backups to // CronMaxKeep is the max number of cron generated backups to
// keep before removing older entries. // keep before removing older entries.
// //
// This field works only when the cron config has valid cron expression. // This field works only when the cron config has valid cron expression.

File diff suppressed because it is too large Load Diff

View File

@ -37,7 +37,7 @@ type Client interface {
// Channel returns the client's communication channel. // Channel returns the client's communication channel.
Channel() chan Message Channel() chan Message
// Subscriptions returns a shallow copy of the the client subscriptions matching the prefixes. // Subscriptions returns a shallow copy of the client subscriptions matching the prefixes.
// If no prefix is specified, returns all subscriptions. // If no prefix is specified, returns all subscriptions.
Subscriptions(prefixes ...string) map[string]SubscriptionOptions Subscriptions(prefixes ...string) map[string]SubscriptionOptions
@ -123,7 +123,7 @@ func (c *DefaultClient) Channel() chan Message {
// Subscriptions implements the [Client.Subscriptions] interface method. // Subscriptions implements the [Client.Subscriptions] interface method.
// //
// It returns a shallow copy of the the client subscriptions matching the prefixes. // It returns a shallow copy of the client subscriptions matching the prefixes.
// If no prefix is specified, returns all subscriptions. // If no prefix is specified, returns all subscriptions.
func (c *DefaultClient) Subscriptions(prefixes ...string) map[string]SubscriptionOptions { func (c *DefaultClient) Subscriptions(prefixes ...string) map[string]SubscriptionOptions {
c.mux.RLock() c.mux.RLock()