Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
9c673c30
Commit
9c673c30
authored
Nov 24, 2015
by
Jay Vyas
Committed by
jay vyas
Nov 24, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing import format in thirdparty libraries to separate local imports.
parent
07989154
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
32 additions
and
20 deletions
+32
-20
print.go
third_party/golang/go/ast/print.go
+2
-1
scope.go
third_party/golang/go/ast/scope.go
+1
-0
build.go
third_party/golang/go/build/build.go
+5
-4
doc_test.go
third_party/golang/go/doc/doc_test.go
+4
-3
error_test.go
third_party/golang/go/parser/error_test.go
+3
-2
interface.go
third_party/golang/go/parser/interface.go
+3
-2
performance_test.go
third_party/golang/go/parser/performance_test.go
+2
-1
performance_test.go
third_party/golang/go/printer/performance_test.go
+3
-2
printer.go
third_party/golang/go/printer/printer.go
+3
-2
errors.go
third_party/golang/go/scanner/errors.go
+2
-1
scanner_test.go
third_party/golang/go/scanner/scanner_test.go
+2
-1
scope.go
third_party/golang/go/types/scope.go
+2
-1
No files found.
third_party/golang/go/ast/print.go
View file @
9c673c30
...
@@ -8,10 +8,11 @@ package ast
...
@@ -8,10 +8,11 @@ package ast
import
(
import
(
"fmt"
"fmt"
"k8s.io/kubernetes/third_party/golang/go/token"
"io"
"io"
"os"
"os"
"reflect"
"reflect"
"k8s.io/kubernetes/third_party/golang/go/token"
)
)
// A FieldFilter may be provided to Fprint to control the output.
// A FieldFilter may be provided to Fprint to control the output.
...
...
third_party/golang/go/ast/scope.go
View file @
9c673c30
...
@@ -9,6 +9,7 @@ package ast
...
@@ -9,6 +9,7 @@ package ast
import
(
import
(
"bytes"
"bytes"
"fmt"
"fmt"
"k8s.io/kubernetes/third_party/golang/go/token"
"k8s.io/kubernetes/third_party/golang/go/token"
)
)
...
...
third_party/golang/go/build/build.go
View file @
9c673c30
...
@@ -8,10 +8,6 @@ import (
...
@@ -8,10 +8,6 @@ import (
"bytes"
"bytes"
"errors"
"errors"
"fmt"
"fmt"
"k8s.io/kubernetes/third_party/golang/go/ast"
"k8s.io/kubernetes/third_party/golang/go/doc"
"k8s.io/kubernetes/third_party/golang/go/parser"
"k8s.io/kubernetes/third_party/golang/go/token"
"io"
"io"
"io/ioutil"
"io/ioutil"
"log"
"log"
...
@@ -24,6 +20,11 @@ import (
...
@@ -24,6 +20,11 @@ import (
"strings"
"strings"
"unicode"
"unicode"
"unicode/utf8"
"unicode/utf8"
"k8s.io/kubernetes/third_party/golang/go/ast"
"k8s.io/kubernetes/third_party/golang/go/doc"
"k8s.io/kubernetes/third_party/golang/go/parser"
"k8s.io/kubernetes/third_party/golang/go/token"
)
)
// A Context specifies the supporting context for a build.
// A Context specifies the supporting context for a build.
...
...
third_party/golang/go/doc/doc_test.go
View file @
9c673c30
...
@@ -8,9 +8,6 @@ import (
...
@@ -8,9 +8,6 @@ import (
"bytes"
"bytes"
"flag"
"flag"
"fmt"
"fmt"
"k8s.io/kubernetes/third_party/golang/go/parser"
"k8s.io/kubernetes/third_party/golang/go/printer"
"k8s.io/kubernetes/third_party/golang/go/token"
"io/ioutil"
"io/ioutil"
"os"
"os"
"path/filepath"
"path/filepath"
...
@@ -18,6 +15,10 @@ import (
...
@@ -18,6 +15,10 @@ import (
"strings"
"strings"
"testing"
"testing"
"text/template"
"text/template"
"k8s.io/kubernetes/third_party/golang/go/parser"
"k8s.io/kubernetes/third_party/golang/go/printer"
"k8s.io/kubernetes/third_party/golang/go/token"
)
)
var
update
=
flag
.
Bool
(
"update"
,
false
,
"update golden (.out) files"
)
var
update
=
flag
.
Bool
(
"update"
,
false
,
"update golden (.out) files"
)
...
...
third_party/golang/go/parser/error_test.go
View file @
9c673c30
...
@@ -23,13 +23,14 @@
...
@@ -23,13 +23,14 @@
package
parser
package
parser
import
(
import
(
"k8s.io/kubernetes/third_party/golang/go/scanner"
"k8s.io/kubernetes/third_party/golang/go/token"
"io/ioutil"
"io/ioutil"
"path/filepath"
"path/filepath"
"regexp"
"regexp"
"strings"
"strings"
"testing"
"testing"
"k8s.io/kubernetes/third_party/golang/go/scanner"
"k8s.io/kubernetes/third_party/golang/go/token"
)
)
const
testdata
=
"testdata"
const
testdata
=
"testdata"
...
...
third_party/golang/go/parser/interface.go
View file @
9c673c30
...
@@ -9,13 +9,14 @@ package parser
...
@@ -9,13 +9,14 @@ package parser
import
(
import
(
"bytes"
"bytes"
"errors"
"errors"
"k8s.io/kubernetes/third_party/golang/go/ast"
"k8s.io/kubernetes/third_party/golang/go/token"
"io"
"io"
"io/ioutil"
"io/ioutil"
"os"
"os"
"path/filepath"
"path/filepath"
"strings"
"strings"
"k8s.io/kubernetes/third_party/golang/go/ast"
"k8s.io/kubernetes/third_party/golang/go/token"
)
)
// If src != nil, readSource converts src to a []byte if possible;
// If src != nil, readSource converts src to a []byte if possible;
...
...
third_party/golang/go/parser/performance_test.go
View file @
9c673c30
...
@@ -5,9 +5,10 @@
...
@@ -5,9 +5,10 @@
package
parser
package
parser
import
(
import
(
"k8s.io/kubernetes/third_party/golang/go/token"
"io/ioutil"
"io/ioutil"
"testing"
"testing"
"k8s.io/kubernetes/third_party/golang/go/token"
)
)
var
src
=
readFile
(
"parser.go"
)
var
src
=
readFile
(
"parser.go"
)
...
...
third_party/golang/go/printer/performance_test.go
View file @
9c673c30
...
@@ -9,10 +9,11 @@ package printer
...
@@ -9,10 +9,11 @@ package printer
import
(
import
(
"bytes"
"bytes"
"k8s.io/kubernetes/third_party/golang/go/ast"
"k8s.io/kubernetes/third_party/golang/go/parser"
"io"
"io"
"io/ioutil"
"io/ioutil"
"k8s.io/kubernetes/third_party/golang/go/ast"
"k8s.io/kubernetes/third_party/golang/go/parser"
"log"
"log"
"testing"
"testing"
)
)
...
...
third_party/golang/go/printer/printer.go
View file @
9c673c30
...
@@ -7,14 +7,15 @@ package printer
...
@@ -7,14 +7,15 @@ package printer
import
(
import
(
"fmt"
"fmt"
"k8s.io/kubernetes/third_party/golang/go/ast"
"k8s.io/kubernetes/third_party/golang/go/token"
"io"
"io"
"os"
"os"
"strconv"
"strconv"
"strings"
"strings"
"text/tabwriter"
"text/tabwriter"
"unicode"
"unicode"
"k8s.io/kubernetes/third_party/golang/go/ast"
"k8s.io/kubernetes/third_party/golang/go/token"
)
)
const
(
const
(
...
...
third_party/golang/go/scanner/errors.go
View file @
9c673c30
...
@@ -6,9 +6,10 @@ package scanner
...
@@ -6,9 +6,10 @@ package scanner
import
(
import
(
"fmt"
"fmt"
"k8s.io/kubernetes/third_party/golang/go/token"
"io"
"io"
"sort"
"sort"
"k8s.io/kubernetes/third_party/golang/go/token"
)
)
// In an ErrorList, an error is represented by an *Error.
// In an ErrorList, an error is represented by an *Error.
...
...
third_party/golang/go/scanner/scanner_test.go
View file @
9c673c30
...
@@ -5,12 +5,13 @@
...
@@ -5,12 +5,13 @@
package
scanner
package
scanner
import
(
import
(
"k8s.io/kubernetes/third_party/golang/go/token"
"io/ioutil"
"io/ioutil"
"os"
"os"
"path/filepath"
"path/filepath"
"runtime"
"runtime"
"testing"
"testing"
"k8s.io/kubernetes/third_party/golang/go/token"
)
)
var
fset
=
token
.
NewFileSet
()
var
fset
=
token
.
NewFileSet
()
...
...
third_party/golang/go/types/scope.go
View file @
9c673c30
...
@@ -9,10 +9,11 @@ package types
...
@@ -9,10 +9,11 @@ package types
import
(
import
(
"bytes"
"bytes"
"fmt"
"fmt"
"k8s.io/kubernetes/third_party/golang/go/token"
"io"
"io"
"sort"
"sort"
"strings"
"strings"
"k8s.io/kubernetes/third_party/golang/go/token"
)
)
// TODO(gri) Provide scopes with a name or other mechanism so that
// TODO(gri) Provide scopes with a name or other mechanism so that
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment