Skip to content
Snippets Groups Projects
  • Russ Cox's avatar
    2580d0e0
    all: gofmt -w -r 'interface{} -> any' src · 2580d0e0
    Russ Cox authored
    And then revert the bootstrap cmd directories and certain testdata.
    And adjust tests as needed.
    
    Not reverting the changes in std that are bootstrapped,
    because some of those changes would appear in API docs,
    and we want to use any consistently.
    Instead, rewrite 'any' to 'interface{}' in cmd/dist for those directories
    when preparing the bootstrap copy.
    
    A few files changed as a result of running gofmt -w
    not because of interface{} -> any but because they
    hadn't been updated for the new //go:build lines.
    
    Fixes #49884.
    
    Change-Id: Ie8045cba995f65bd79c694ec77a1b3d1fe01bb09
    Reviewed-on: https://go-review.googlesource.com/c/go/+/368254
    
    
    Trust: Russ Cox <rsc@golang.org>
    Run-TryBot: Russ Cox <rsc@golang.org>
    Reviewed-by: default avatarRobert Griesemer <gri@golang.org>
    TryBot-Result: Gopher Robot <gobot@golang.org>
    2580d0e0
    History
    all: gofmt -w -r 'interface{} -> any' src
    Russ Cox authored
    And then revert the bootstrap cmd directories and certain testdata.
    And adjust tests as needed.
    
    Not reverting the changes in std that are bootstrapped,
    because some of those changes would appear in API docs,
    and we want to use any consistently.
    Instead, rewrite 'any' to 'interface{}' in cmd/dist for those directories
    when preparing the bootstrap copy.
    
    A few files changed as a result of running gofmt -w
    not because of interface{} -> any but because they
    hadn't been updated for the new //go:build lines.
    
    Fixes #49884.
    
    Change-Id: Ie8045cba995f65bd79c694ec77a1b3d1fe01bb09
    Reviewed-on: https://go-review.googlesource.com/c/go/+/368254
    
    
    Trust: Russ Cox <rsc@golang.org>
    Run-TryBot: Russ Cox <rsc@golang.org>
    Reviewed-by: default avatarRobert Griesemer <gri@golang.org>
    TryBot-Result: Gopher Robot <gobot@golang.org>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.