1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-11-22 04:42:37 +03:00

Modernize all codes

go run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest -fix -test ./...
This commit is contained in:
phanium
2025-11-12 09:19:27 +08:00
committed by Stefan Haller
parent a7126d5456
commit d88f95275f
20 changed files with 38 additions and 53 deletions

View File

@@ -114,7 +114,7 @@ func setComment(yamlNode *yaml.Node, description string) {
"\n")
}
func (n *Node) MarshalYAML() (interface{}, error) {
func (n *Node) MarshalYAML() (any, error) {
node := yaml.Node{
Kind: yaml.MappingNode,
}