• Marvin Stenger's avatar
    cmd/dist: remove trivial variables + functions · 6ea4cfb3
    Marvin Stenger authored
    This belongs to a series of clean-up changes (see below) for cmd/dist.
    This is change (5).
    
    These changes include:
    (1)  apply minor fixes
    (2)  restore behavior of branchtag
    (3)  unleash bootstrap optimization for windows
    (4)  use standard generated code header
    (5)  remove trivial variables + functions
    (6)  move functions for the better
    (7)  simplify code segments
    (8)  use bytes.Buffer for code generation
    (9)  rename variables + functions
    (10) remove doc.go
    
    Change-Id: I0efd1271b6a70bb9248d82f8a4d869556f4a557e
    Reviewed-on: https://go-review.googlesource.com/61011
    Run-TryBot: Ian Lance Taylor <iant@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    6ea4cfb3
util.go 13.4 KB