Skip to content

Commit

Permalink
Remove no-longer-needed forked go/ast code
Browse files Browse the repository at this point in the history
  • Loading branch information
thockin committed Jun 29, 2016
1 parent 2950373 commit b0a4b22
Show file tree
Hide file tree
Showing 171 changed files with 11 additions and 45,329 deletions.
3 changes: 1 addition & 2 deletions cmd/libs/go2idl/go-to-protobuf/protobuf/package.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,13 @@ package protobuf

import (
"fmt"
"go/ast"
"log"
"os"
"path/filepath"
"reflect"
"strings"

"k8s.io/kubernetes/third_party/golang/go/ast"

"k8s.io/kubernetes/cmd/libs/go2idl/generator"
"k8s.io/kubernetes/cmd/libs/go2idl/types"
)
Expand Down
8 changes: 4 additions & 4 deletions cmd/libs/go2idl/go-to-protobuf/protobuf/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@ import (
"bytes"
"errors"
"fmt"
"go/ast"
"go/format"
"go/parser"
"go/printer"
"go/token"
"io/ioutil"
"os"
"reflect"
"strings"

customreflect "k8s.io/kubernetes/third_party/forked/reflect"
"k8s.io/kubernetes/third_party/golang/go/ast"
"k8s.io/kubernetes/third_party/golang/go/parser"
"k8s.io/kubernetes/third_party/golang/go/printer"
"k8s.io/kubernetes/third_party/golang/go/token"
)

func rewriteFile(name string, header []byte, rewriteFn func(*token.FileSet, *ast.File) error) error {
Expand Down
13 changes: 6 additions & 7 deletions cmd/libs/go2idl/parser/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,19 @@ package parser

import (
"fmt"
"go/ast"
"go/build"
"go/parser"
"go/token"
tc "go/types"
"io/ioutil"
"os"
"os/exec"
"path/filepath"
"strings"

"k8s.io/kubernetes/cmd/libs/go2idl/types"
"k8s.io/kubernetes/third_party/golang/go/ast"
"k8s.io/kubernetes/third_party/golang/go/build"
"k8s.io/kubernetes/third_party/golang/go/parser"
"k8s.io/kubernetes/third_party/golang/go/token"
tc "k8s.io/kubernetes/third_party/golang/go/types"

"github.com/golang/glog"
"k8s.io/kubernetes/cmd/libs/go2idl/types"
)

// Builder lets you add all the go files in all the packages that you care
Expand Down
15 changes: 0 additions & 15 deletions third_party/golang/go/README.md

This file was deleted.

Loading

0 comments on commit b0a4b22

Please sign in to comment.