1. 03 Jul, 2018 8 commits
  2. 02 Jul, 2018 12 commits
  3. 01 Jul, 2018 2 commits
  4. 30 Jun, 2018 1 commit
  5. 29 Jun, 2018 16 commits
  6. 28 Jun, 2018 1 commit
    • Ian Lance Taylor's avatar
      reflect: remove struct tags from unexported types · 997d7a18
      Ian Lance Taylor authored
      Before CL 4281055 in 2011, the reflect package was quite different.
      rtype, then called commonType, was embedded in exported structs with
      names like StructType. In order to avoid accidental conversions
      between pointers to these public structs, which sometimes had
      identical fields, the embedded commonType fields were tagged.
      
      In CL 4281055 the formerly public structs were unexported, and all
      access was done through the Type interface. At that point the field
      tags in the reflect structs were no longer useful.
      
      In Go 1.8 the language was changed to ignore struct field tags when
      converting between types. This made the field tags in the reflect
      structs doubly useless.
      
      This CL simply removes them.
      
      Fixes #20914
      
      Change-Id: I9af4d6d0709276a91a6b6ee5323cad9dcd0cd0a0
      Reviewed-on: https://go-review.googlesource.com/121475
      Run-TryBot: Ian Lance Taylor <iant@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
      997d7a18