From f0a77106484ec2177f9ac7efd504060f82740d4f Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Fri, 21 Apr 2017 12:32:34 -0300 Subject: [PATCH] removed more deprecated code --- config/config.go | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/config/config.go b/config/config.go index 668b64b12..c4a320a84 100644 --- a/config/config.go +++ b/config/config.go @@ -21,7 +21,6 @@ func (r Repo) String() string { // Homebrew contains the brew section type Homebrew struct { - Repo string // deprecated! GitHub Repo Folder string Caveats string @@ -39,14 +38,13 @@ type Hooks struct { // Build contains the build configuration section type Build struct { - Goos []string - Goarch []string - Main string - Ldflags string - Flags string - BinaryName string `yaml:"binary_name"` // deprecated - Binary string - Hooks Hooks + Goos []string + Goarch []string + Main string + Ldflags string + Flags string + Binary string + Hooks Hooks } // Archive config used for the archive @@ -59,7 +57,6 @@ type Archive struct { // Release config used for the GitHub release type Release struct { - Repo string // deprecated! GitHub Repo } @@ -71,7 +68,7 @@ type FPM struct { Options FPMOptions } -// FPM config options +// FPMOptions config options type FPMOptions struct { Vendor string URL string