docs: fix invalid godoc for generated settings methods

This commit is contained in:
Mateusz Filipowicz
2025-03-02 22:27:49 +01:00
parent a5955a6358
commit bdc73a9811
41 changed files with 82 additions and 82 deletions

View File

@@ -91,7 +91,7 @@ func (dst *SettingEtherLightingSpeedOverrides) UnmarshalJSON(b []byte) error {
return nil
}
// Update SettingEtherLighting Experimental! This function is not yet stable and may change in the future.
// GetSettingEtherLighting Experimental! This function is not yet stable and may change in the future.
func (c *client) GetSettingEtherLighting(ctx context.Context, site string) (*SettingEtherLighting, error) {
s, f, err := c.GetSetting(ctx, site, SettingEtherLightingKey)
if err != nil {
@@ -103,7 +103,7 @@ func (c *client) GetSettingEtherLighting(ctx context.Context, site string) (*Set
return f.(*SettingEtherLighting), nil
}
// Update SettingEtherLighting Experimental! This function is not yet stable and may change in the future.
// UpdateSettingEtherLighting Experimental! This function is not yet stable and may change in the future.
func (c *client) UpdateSettingEtherLighting(ctx context.Context, site string, s *SettingEtherLighting) (*SettingEtherLighting, error) {
s.Key = SettingEtherLightingKey
result, err := c.SetSetting(ctx, site, SettingEtherLightingKey, s)