chore(all): fix typos in code comments (#2216)

This commit is contained in:
wanshuangcheng
2024-05-02 15:24:49 +08:00
committed by GitHub
parent ebf4bf9ea8
commit 5dacbb994f
4 changed files with 5 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ type PortForwarding struct {
// Provider is set to specify which custom port forwarding code
// should be used. This is especially necessary for the custom
// provider using Wireguard for a provider where Wireguard is not
// natively supported but custom port forwading code is available.
// natively supported but custom port forwarding code is available.
// It defaults to the empty string, meaning the current provider
// should be the one used for port forwarding.
// It cannot be nil for the internal state.

View File

@@ -15,7 +15,7 @@ type Loop struct {
settings Settings
settingsMutex sync.RWMutex
service Service
// Fixed injected objets
// Fixed injected objects
routing Routing
client *http.Client
portAllower PortAllower

View File

@@ -14,7 +14,7 @@ type Service struct {
settings Settings
puid int
pgid int
// Fixed injected objets
// Fixed injected objects
routing Routing
client *http.Client
portAllower PortAllower
@@ -32,7 +32,7 @@ func New(settings Settings, routing Routing, client *http.Client,
settings: settings,
puid: puid,
pgid: pgid,
// Fixed injected objets
// Fixed injected objects
routing: routing,
client: client,
portAllower: portAllower,

View File

@@ -19,7 +19,7 @@ type Loop struct {
settingsMutex sync.RWMutex
ipData models.PublicIP
ipDataMutex sync.RWMutex
// Fixed injected objets
// Fixed injected objects
fetcher Fetcher
logger Logger
// Fixed parameters