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
1970be1e
Commit
1970be1e
authored
Apr 05, 2019
by
Jordan Liggitt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
github.com/mailru/easyjson v0.0.0-20180823135443-60711f1a8329
Used only by github.com/go-openapi/..., all expecting 60711f1a8329
parent
6c371b06
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
165 additions
and
36 deletions
+165
-36
go.mod
go.mod
+1
-1
go.sum
go.sum
+2
-2
go.mod
staging/src/k8s.io/apiextensions-apiserver/go.mod
+1
-1
go.sum
staging/src/k8s.io/apiextensions-apiserver/go.sum
+2
-2
go.mod
staging/src/k8s.io/apiserver/go.mod
+1
-1
go.sum
staging/src/k8s.io/apiserver/go.sum
+2
-2
go.mod
staging/src/k8s.io/cli-runtime/go.mod
+1
-1
go.sum
staging/src/k8s.io/cli-runtime/go.sum
+2
-2
go.mod
staging/src/k8s.io/cloud-provider/go.mod
+1
-1
go.sum
staging/src/k8s.io/cloud-provider/go.sum
+1
-1
go.mod
staging/src/k8s.io/csi-translation-lib/go.mod
+1
-1
go.sum
staging/src/k8s.io/csi-translation-lib/go.sum
+1
-1
go.mod
staging/src/k8s.io/kube-aggregator/go.mod
+1
-1
go.sum
staging/src/k8s.io/kube-aggregator/go.sum
+2
-2
go.mod
staging/src/k8s.io/sample-apiserver/go.mod
+1
-1
go.sum
staging/src/k8s.io/sample-apiserver/go.sum
+2
-2
go.mod
staging/src/k8s.io/sample-cli-plugin/go.mod
+1
-1
go.sum
staging/src/k8s.io/sample-cli-plugin/go.sum
+2
-2
lexer.go
vendor/github.com/mailru/easyjson/jlexer/lexer.go
+73
-6
writer.go
vendor/github.com/mailru/easyjson/jwriter/writer.go
+66
-4
modules.txt
vendor/modules.txt
+1
-1
No files found.
go.mod
View file @
1970be1e
...
@@ -353,7 +353,7 @@ replace (
...
@@ -353,7 +353,7 @@ replace (
github.com/lithammer/dedent => github.com/lithammer/dedent v1.1.0
github.com/lithammer/dedent => github.com/lithammer/dedent v1.1.0
github.com/lpabon/godbc => github.com/lpabon/godbc v0.1.1
github.com/lpabon/godbc => github.com/lpabon/godbc v0.1.1
github.com/magiconair/properties => github.com/magiconair/properties v0.0.0-20160816085511-61b492c03cf4
github.com/magiconair/properties => github.com/magiconair/properties v0.0.0-20160816085511-61b492c03cf4
github.com/mailru/easyjson => github.com/mailru/easyjson v0.0.0-201
70624190925-2f5df55504eb
github.com/mailru/easyjson => github.com/mailru/easyjson v0.0.0-201
80823135443-60711f1a8329
github.com/marstr/guid => github.com/marstr/guid v0.0.0-20170427235115-8bdf7d1a087c
github.com/marstr/guid => github.com/marstr/guid v0.0.0-20170427235115-8bdf7d1a087c
github.com/mattn/go-shellwords => github.com/mattn/go-shellwords v0.0.0-20180605041737-f8471b0a71de
github.com/mattn/go-shellwords => github.com/mattn/go-shellwords v0.0.0-20180605041737-f8471b0a71de
github.com/mattn/go-sqlite3 => github.com/mattn/go-sqlite3 v1.6.0
github.com/mattn/go-sqlite3 => github.com/mattn/go-sqlite3 v1.6.0
...
...
go.sum
View file @
1970be1e
...
@@ -276,8 +276,8 @@ github.com/lpabon/godbc v0.1.1 h1:ilqjArN1UOENJJdM34I2YHKmF/B0gGq4VLoSGy9iAao=
...
@@ -276,8 +276,8 @@ github.com/lpabon/godbc v0.1.1 h1:ilqjArN1UOENJJdM34I2YHKmF/B0gGq4VLoSGy9iAao=
github.com/lpabon/godbc v0.1.1/go.mod h1:Jo9QV0cf3U6jZABgiJ2skINAXb9j8m51r07g4KI92ZA=
github.com/lpabon/godbc v0.1.1/go.mod h1:Jo9QV0cf3U6jZABgiJ2skINAXb9j8m51r07g4KI92ZA=
github.com/magiconair/properties v0.0.0-20160816085511-61b492c03cf4 h1:YVH4JcnWs1z/qQ2Dg5BnGGQL8PcUOO97Sb5w7RyuBl4=
github.com/magiconair/properties v0.0.0-20160816085511-61b492c03cf4 h1:YVH4JcnWs1z/qQ2Dg5BnGGQL8PcUOO97Sb5w7RyuBl4=
github.com/magiconair/properties v0.0.0-20160816085511-61b492c03cf4/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ=
github.com/magiconair/properties v0.0.0-20160816085511-61b492c03cf4/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ=
github.com/mailru/easyjson v0.0.0-201
70624190925-2f5df55504eb h1:D5TlrOFWiDz5VIdPnkPwyIRIgStzH3wBBS7v1O1cfSY
=
github.com/mailru/easyjson v0.0.0-201
80823135443-60711f1a8329 h1:2gxZ0XQIU/5z3Z3bUBu+FXuk2pFbkN6tcwi/pjyaDic
=
github.com/mailru/easyjson v0.0.0-201
70624190925-2f5df55504eb
/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
github.com/mailru/easyjson v0.0.0-201
80823135443-60711f1a8329
/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
github.com/marstr/guid v0.0.0-20170427235115-8bdf7d1a087c h1:N7uWGS2fTwH/4BwxbHiJZNAFTSJ5yPU0emHsQWvkxEY=
github.com/marstr/guid v0.0.0-20170427235115-8bdf7d1a087c h1:N7uWGS2fTwH/4BwxbHiJZNAFTSJ5yPU0emHsQWvkxEY=
github.com/marstr/guid v0.0.0-20170427235115-8bdf7d1a087c/go.mod h1:74gB1z2wpxxInTG6yaqA7KrtM0NZ+RbrcqDvYHefzho=
github.com/marstr/guid v0.0.0-20170427235115-8bdf7d1a087c/go.mod h1:74gB1z2wpxxInTG6yaqA7KrtM0NZ+RbrcqDvYHefzho=
github.com/mattn/go-shellwords v0.0.0-20180605041737-f8471b0a71de h1:ryDLMbZGgf2bSdLfdQFaJuuP4No40cDUt62Mdv+3TW8=
github.com/mattn/go-shellwords v0.0.0-20180605041737-f8471b0a71de h1:ryDLMbZGgf2bSdLfdQFaJuuP4No40cDUt62Mdv+3TW8=
...
...
staging/src/k8s.io/apiextensions-apiserver/go.mod
View file @
1970be1e
...
@@ -103,7 +103,7 @@ replace (
...
@@ -103,7 +103,7 @@ replace (
github.com/json-iterator/go => github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be
github.com/json-iterator/go => github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be
github.com/julienschmidt/httprouter => github.com/julienschmidt/httprouter v1.2.0
github.com/julienschmidt/httprouter => github.com/julienschmidt/httprouter v1.2.0
github.com/kr/logfmt => github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515
github.com/kr/logfmt => github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515
github.com/mailru/easyjson => github.com/mailru/easyjson v0.0.0-201
70624190925-2f5df55504eb
github.com/mailru/easyjson => github.com/mailru/easyjson v0.0.0-201
80823135443-60711f1a8329
github.com/matttproud/golang_protobuf_extensions => github.com/matttproud/golang_protobuf_extensions v1.0.1
github.com/matttproud/golang_protobuf_extensions => github.com/matttproud/golang_protobuf_extensions v1.0.1
github.com/mitchellh/mapstructure => github.com/mitchellh/mapstructure v0.0.0-20170307201123-53818660ed49
github.com/mitchellh/mapstructure => github.com/mitchellh/mapstructure v0.0.0-20170307201123-53818660ed49
github.com/modern-go/concurrent => github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
github.com/modern-go/concurrent => github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
...
...
staging/src/k8s.io/apiextensions-apiserver/go.sum
View file @
1970be1e
...
@@ -107,8 +107,8 @@ github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be h1:AHimNtVIpiBjPU
...
@@ -107,8 +107,8 @@ github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be h1:AHimNtVIpiBjPU
github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc=
github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc=
github.com/mailru/easyjson v0.0.0-201
70624190925-2f5df55504eb h1:D5TlrOFWiDz5VIdPnkPwyIRIgStzH3wBBS7v1O1cfSY
=
github.com/mailru/easyjson v0.0.0-201
80823135443-60711f1a8329 h1:2gxZ0XQIU/5z3Z3bUBu+FXuk2pFbkN6tcwi/pjyaDic
=
github.com/mailru/easyjson v0.0.0-201
70624190925-2f5df55504eb
/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
github.com/mailru/easyjson v0.0.0-201
80823135443-60711f1a8329
/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU=
github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU=
github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
github.com/mitchellh/mapstructure v0.0.0-20170307201123-53818660ed49 h1:kaWdlw4YogwkDl8CG+/VxhXkrL9uz3n1D9QBC2pEGLE=
github.com/mitchellh/mapstructure v0.0.0-20170307201123-53818660ed49 h1:kaWdlw4YogwkDl8CG+/VxhXkrL9uz3n1D9QBC2pEGLE=
...
...
staging/src/k8s.io/apiserver/go.mod
View file @
1970be1e
...
@@ -131,7 +131,7 @@ replace (
...
@@ -131,7 +131,7 @@ replace (
github.com/json-iterator/go => github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be
github.com/json-iterator/go => github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be
github.com/julienschmidt/httprouter => github.com/julienschmidt/httprouter v1.2.0
github.com/julienschmidt/httprouter => github.com/julienschmidt/httprouter v1.2.0
github.com/kr/logfmt => github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515
github.com/kr/logfmt => github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515
github.com/mailru/easyjson => github.com/mailru/easyjson v0.0.0-201
70624190925-2f5df55504eb
github.com/mailru/easyjson => github.com/mailru/easyjson v0.0.0-201
80823135443-60711f1a8329
github.com/matttproud/golang_protobuf_extensions => github.com/matttproud/golang_protobuf_extensions v1.0.1
github.com/matttproud/golang_protobuf_extensions => github.com/matttproud/golang_protobuf_extensions v1.0.1
github.com/modern-go/concurrent => github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
github.com/modern-go/concurrent => github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
github.com/modern-go/reflect2 => github.com/modern-go/reflect2 v1.0.1
github.com/modern-go/reflect2 => github.com/modern-go/reflect2 v1.0.1
...
...
staging/src/k8s.io/apiserver/go.sum
View file @
1970be1e
...
@@ -93,8 +93,8 @@ github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be h1:AHimNtVIpiBjPU
...
@@ -93,8 +93,8 @@ github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be h1:AHimNtVIpiBjPU
github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc=
github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc=
github.com/mailru/easyjson v0.0.0-201
70624190925-2f5df55504eb h1:D5TlrOFWiDz5VIdPnkPwyIRIgStzH3wBBS7v1O1cfSY
=
github.com/mailru/easyjson v0.0.0-201
80823135443-60711f1a8329 h1:2gxZ0XQIU/5z3Z3bUBu+FXuk2pFbkN6tcwi/pjyaDic
=
github.com/mailru/easyjson v0.0.0-201
70624190925-2f5df55504eb
/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
github.com/mailru/easyjson v0.0.0-201
80823135443-60711f1a8329
/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU=
github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU=
github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
...
...
staging/src/k8s.io/cli-runtime/go.mod
View file @
1970be1e
...
@@ -57,7 +57,7 @@ replace (
...
@@ -57,7 +57,7 @@ replace (
github.com/imdario/mergo => github.com/imdario/mergo v0.3.5
github.com/imdario/mergo => github.com/imdario/mergo v0.3.5
github.com/inconshreveable/mousetrap => github.com/inconshreveable/mousetrap v1.0.0
github.com/inconshreveable/mousetrap => github.com/inconshreveable/mousetrap v1.0.0
github.com/json-iterator/go => github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be
github.com/json-iterator/go => github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be
github.com/mailru/easyjson => github.com/mailru/easyjson v0.0.0-201
70624190925-2f5df55504eb
github.com/mailru/easyjson => github.com/mailru/easyjson v0.0.0-201
80823135443-60711f1a8329
github.com/modern-go/concurrent => github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
github.com/modern-go/concurrent => github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
github.com/modern-go/reflect2 => github.com/modern-go/reflect2 v1.0.1
github.com/modern-go/reflect2 => github.com/modern-go/reflect2 v1.0.1
github.com/mxk/go-flowrate => github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f
github.com/mxk/go-flowrate => github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f
...
...
staging/src/k8s.io/cli-runtime/go.sum
View file @
1970be1e
...
@@ -47,8 +47,8 @@ github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NH
...
@@ -47,8 +47,8 @@ github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NH
github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8=
github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8=
github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be h1:AHimNtVIpiBjPUhEF5KNCkrUyqTSA5zWUl8sQ2bfGBE=
github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be h1:AHimNtVIpiBjPUhEF5KNCkrUyqTSA5zWUl8sQ2bfGBE=
github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
github.com/mailru/easyjson v0.0.0-201
70624190925-2f5df55504eb h1:D5TlrOFWiDz5VIdPnkPwyIRIgStzH3wBBS7v1O1cfSY
=
github.com/mailru/easyjson v0.0.0-201
80823135443-60711f1a8329 h1:2gxZ0XQIU/5z3Z3bUBu+FXuk2pFbkN6tcwi/pjyaDic
=
github.com/mailru/easyjson v0.0.0-201
70624190925-2f5df55504eb
/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
github.com/mailru/easyjson v0.0.0-201
80823135443-60711f1a8329
/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
github.com/modern-go/reflect2 v1.0.1 h1:9f412s+6RmYXLWZSEzVVgPGK7C2PphHj5RJrvfx9AWI=
github.com/modern-go/reflect2 v1.0.1 h1:9f412s+6RmYXLWZSEzVVgPGK7C2PphHj5RJrvfx9AWI=
...
...
staging/src/k8s.io/cloud-provider/go.mod
View file @
1970be1e
...
@@ -69,7 +69,7 @@ replace (
...
@@ -69,7 +69,7 @@ replace (
github.com/json-iterator/go => github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be
github.com/json-iterator/go => github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be
github.com/julienschmidt/httprouter => github.com/julienschmidt/httprouter v1.2.0
github.com/julienschmidt/httprouter => github.com/julienschmidt/httprouter v1.2.0
github.com/kr/logfmt => github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515
github.com/kr/logfmt => github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515
github.com/mailru/easyjson => github.com/mailru/easyjson v0.0.0-201
70624190925-2f5df55504eb
github.com/mailru/easyjson => github.com/mailru/easyjson v0.0.0-201
80823135443-60711f1a8329
github.com/matttproud/golang_protobuf_extensions => github.com/matttproud/golang_protobuf_extensions v1.0.1
github.com/matttproud/golang_protobuf_extensions => github.com/matttproud/golang_protobuf_extensions v1.0.1
github.com/modern-go/concurrent => github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
github.com/modern-go/concurrent => github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
github.com/modern-go/reflect2 => github.com/modern-go/reflect2 v1.0.1
github.com/modern-go/reflect2 => github.com/modern-go/reflect2 v1.0.1
...
...
staging/src/k8s.io/cloud-provider/go.sum
View file @
1970be1e
...
@@ -61,7 +61,7 @@ github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be h1:AHimNtVIpiBjPU
...
@@ -61,7 +61,7 @@ github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be h1:AHimNtVIpiBjPU
github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc=
github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc=
github.com/mailru/easyjson v0.0.0-201
70624190925-2f5df55504eb
/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
github.com/mailru/easyjson v0.0.0-201
80823135443-60711f1a8329
/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
...
...
staging/src/k8s.io/csi-translation-lib/go.mod
View file @
1970be1e
...
@@ -66,7 +66,7 @@ replace (
...
@@ -66,7 +66,7 @@ replace (
github.com/json-iterator/go => github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be
github.com/json-iterator/go => github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be
github.com/julienschmidt/httprouter => github.com/julienschmidt/httprouter v1.2.0
github.com/julienschmidt/httprouter => github.com/julienschmidt/httprouter v1.2.0
github.com/kr/logfmt => github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515
github.com/kr/logfmt => github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515
github.com/mailru/easyjson => github.com/mailru/easyjson v0.0.0-201
70624190925-2f5df55504eb
github.com/mailru/easyjson => github.com/mailru/easyjson v0.0.0-201
80823135443-60711f1a8329
github.com/matttproud/golang_protobuf_extensions => github.com/matttproud/golang_protobuf_extensions v1.0.1
github.com/matttproud/golang_protobuf_extensions => github.com/matttproud/golang_protobuf_extensions v1.0.1
github.com/modern-go/concurrent => github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
github.com/modern-go/concurrent => github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
github.com/modern-go/reflect2 => github.com/modern-go/reflect2 v1.0.1
github.com/modern-go/reflect2 => github.com/modern-go/reflect2 v1.0.1
...
...
staging/src/k8s.io/csi-translation-lib/go.sum
View file @
1970be1e
...
@@ -57,7 +57,7 @@ github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be h1:AHimNtVIpiBjPU
...
@@ -57,7 +57,7 @@ github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be h1:AHimNtVIpiBjPU
github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc=
github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc=
github.com/mailru/easyjson v0.0.0-201
70624190925-2f5df55504eb
/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
github.com/mailru/easyjson v0.0.0-201
80823135443-60711f1a8329
/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
...
...
staging/src/k8s.io/kube-aggregator/go.mod
View file @
1970be1e
...
@@ -83,7 +83,7 @@ replace (
...
@@ -83,7 +83,7 @@ replace (
github.com/json-iterator/go => github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be
github.com/json-iterator/go => github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be
github.com/julienschmidt/httprouter => github.com/julienschmidt/httprouter v1.2.0
github.com/julienschmidt/httprouter => github.com/julienschmidt/httprouter v1.2.0
github.com/kr/logfmt => github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515
github.com/kr/logfmt => github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515
github.com/mailru/easyjson => github.com/mailru/easyjson v0.0.0-201
70624190925-2f5df55504eb
github.com/mailru/easyjson => github.com/mailru/easyjson v0.0.0-201
80823135443-60711f1a8329
github.com/matttproud/golang_protobuf_extensions => github.com/matttproud/golang_protobuf_extensions v1.0.1
github.com/matttproud/golang_protobuf_extensions => github.com/matttproud/golang_protobuf_extensions v1.0.1
github.com/modern-go/concurrent => github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
github.com/modern-go/concurrent => github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
github.com/modern-go/reflect2 => github.com/modern-go/reflect2 v1.0.1
github.com/modern-go/reflect2 => github.com/modern-go/reflect2 v1.0.1
...
...
staging/src/k8s.io/kube-aggregator/go.sum
View file @
1970be1e
...
@@ -92,8 +92,8 @@ github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be h1:AHimNtVIpiBjPU
...
@@ -92,8 +92,8 @@ github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be h1:AHimNtVIpiBjPU
github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc=
github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc=
github.com/mailru/easyjson v0.0.0-201
70624190925-2f5df55504eb h1:D5TlrOFWiDz5VIdPnkPwyIRIgStzH3wBBS7v1O1cfSY
=
github.com/mailru/easyjson v0.0.0-201
80823135443-60711f1a8329 h1:2gxZ0XQIU/5z3Z3bUBu+FXuk2pFbkN6tcwi/pjyaDic
=
github.com/mailru/easyjson v0.0.0-201
70624190925-2f5df55504eb
/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
github.com/mailru/easyjson v0.0.0-201
80823135443-60711f1a8329
/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU=
github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU=
github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
...
...
staging/src/k8s.io/sample-apiserver/go.mod
View file @
1970be1e
...
@@ -73,7 +73,7 @@ replace (
...
@@ -73,7 +73,7 @@ replace (
github.com/json-iterator/go => github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be
github.com/json-iterator/go => github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be
github.com/julienschmidt/httprouter => github.com/julienschmidt/httprouter v1.2.0
github.com/julienschmidt/httprouter => github.com/julienschmidt/httprouter v1.2.0
github.com/kr/logfmt => github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515
github.com/kr/logfmt => github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515
github.com/mailru/easyjson => github.com/mailru/easyjson v0.0.0-201
70624190925-2f5df55504eb
github.com/mailru/easyjson => github.com/mailru/easyjson v0.0.0-201
80823135443-60711f1a8329
github.com/matttproud/golang_protobuf_extensions => github.com/matttproud/golang_protobuf_extensions v1.0.1
github.com/matttproud/golang_protobuf_extensions => github.com/matttproud/golang_protobuf_extensions v1.0.1
github.com/modern-go/concurrent => github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
github.com/modern-go/concurrent => github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
github.com/modern-go/reflect2 => github.com/modern-go/reflect2 v1.0.1
github.com/modern-go/reflect2 => github.com/modern-go/reflect2 v1.0.1
...
...
staging/src/k8s.io/sample-apiserver/go.sum
View file @
1970be1e
...
@@ -90,8 +90,8 @@ github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be h1:AHimNtVIpiBjPU
...
@@ -90,8 +90,8 @@ github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be h1:AHimNtVIpiBjPU
github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc=
github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc=
github.com/mailru/easyjson v0.0.0-201
70624190925-2f5df55504eb h1:D5TlrOFWiDz5VIdPnkPwyIRIgStzH3wBBS7v1O1cfSY
=
github.com/mailru/easyjson v0.0.0-201
80823135443-60711f1a8329 h1:2gxZ0XQIU/5z3Z3bUBu+FXuk2pFbkN6tcwi/pjyaDic
=
github.com/mailru/easyjson v0.0.0-201
70624190925-2f5df55504eb
/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
github.com/mailru/easyjson v0.0.0-201
80823135443-60711f1a8329
/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU=
github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU=
github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
...
...
staging/src/k8s.io/sample-cli-plugin/go.mod
View file @
1970be1e
...
@@ -42,7 +42,7 @@ replace (
...
@@ -42,7 +42,7 @@ replace (
github.com/imdario/mergo => github.com/imdario/mergo v0.3.5
github.com/imdario/mergo => github.com/imdario/mergo v0.3.5
github.com/inconshreveable/mousetrap => github.com/inconshreveable/mousetrap v1.0.0
github.com/inconshreveable/mousetrap => github.com/inconshreveable/mousetrap v1.0.0
github.com/json-iterator/go => github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be
github.com/json-iterator/go => github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be
github.com/mailru/easyjson => github.com/mailru/easyjson v0.0.0-201
70624190925-2f5df55504eb
github.com/mailru/easyjson => github.com/mailru/easyjson v0.0.0-201
80823135443-60711f1a8329
github.com/modern-go/concurrent => github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
github.com/modern-go/concurrent => github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
github.com/modern-go/reflect2 => github.com/modern-go/reflect2 v1.0.1
github.com/modern-go/reflect2 => github.com/modern-go/reflect2 v1.0.1
github.com/mxk/go-flowrate => github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f
github.com/mxk/go-flowrate => github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f
...
...
staging/src/k8s.io/sample-cli-plugin/go.sum
View file @
1970be1e
...
@@ -47,8 +47,8 @@ github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NH
...
@@ -47,8 +47,8 @@ github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NH
github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8=
github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8=
github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be h1:AHimNtVIpiBjPUhEF5KNCkrUyqTSA5zWUl8sQ2bfGBE=
github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be h1:AHimNtVIpiBjPUhEF5KNCkrUyqTSA5zWUl8sQ2bfGBE=
github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
github.com/mailru/easyjson v0.0.0-201
70624190925-2f5df55504eb h1:D5TlrOFWiDz5VIdPnkPwyIRIgStzH3wBBS7v1O1cfSY
=
github.com/mailru/easyjson v0.0.0-201
80823135443-60711f1a8329 h1:2gxZ0XQIU/5z3Z3bUBu+FXuk2pFbkN6tcwi/pjyaDic
=
github.com/mailru/easyjson v0.0.0-201
70624190925-2f5df55504eb
/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
github.com/mailru/easyjson v0.0.0-201
80823135443-60711f1a8329
/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
github.com/modern-go/reflect2 v1.0.1 h1:9f412s+6RmYXLWZSEzVVgPGK7C2PphHj5RJrvfx9AWI=
github.com/modern-go/reflect2 v1.0.1 h1:9f412s+6RmYXLWZSEzVVgPGK7C2PphHj5RJrvfx9AWI=
...
...
vendor/github.com/mailru/easyjson/jlexer/lexer.go
View file @
1970be1e
...
@@ -6,6 +6,7 @@ package jlexer
...
@@ -6,6 +6,7 @@ package jlexer
import
(
import
(
"encoding/base64"
"encoding/base64"
"encoding/json"
"errors"
"errors"
"fmt"
"fmt"
"io"
"io"
...
@@ -239,7 +240,7 @@ func (r *Lexer) fetchNumber() {
...
@@ -239,7 +240,7 @@ func (r *Lexer) fetchNumber() {
// findStringLen tries to scan into the string literal for ending quote char to determine required size.
// findStringLen tries to scan into the string literal for ending quote char to determine required size.
// The size will be exact if no escapes are present and may be inexact if there are escaped chars.
// The size will be exact if no escapes are present and may be inexact if there are escaped chars.
func
findStringLen
(
data
[]
byte
)
(
hasEscapes
bool
,
length
int
)
{
func
findStringLen
(
data
[]
byte
)
(
isValid
,
hasEscapes
bool
,
length
int
)
{
delta
:=
0
delta
:=
0
for
i
:=
0
;
i
<
len
(
data
);
i
++
{
for
i
:=
0
;
i
<
len
(
data
);
i
++
{
...
@@ -251,11 +252,11 @@ func findStringLen(data []byte) (hasEscapes bool, length int) {
...
@@ -251,11 +252,11 @@ func findStringLen(data []byte) (hasEscapes bool, length int) {
delta
++
delta
++
}
}
case
'"'
:
case
'"'
:
return
(
delta
>
0
),
(
i
-
delta
)
return
true
,
(
delta
>
0
),
(
i
-
delta
)
}
}
}
}
return
false
,
len
(
data
)
return
false
,
false
,
len
(
data
)
}
}
// getu4 decodes \uXXXX from the beginning of s, returning the hex value,
// getu4 decodes \uXXXX from the beginning of s, returning the hex value,
...
@@ -341,7 +342,12 @@ func (r *Lexer) fetchString() {
...
@@ -341,7 +342,12 @@ func (r *Lexer) fetchString() {
r
.
pos
++
r
.
pos
++
data
:=
r
.
Data
[
r
.
pos
:
]
data
:=
r
.
Data
[
r
.
pos
:
]
hasEscapes
,
length
:=
findStringLen
(
data
)
isValid
,
hasEscapes
,
length
:=
findStringLen
(
data
)
if
!
isValid
{
r
.
pos
+=
length
r
.
errParse
(
"unterminated string literal"
)
return
}
if
!
hasEscapes
{
if
!
hasEscapes
{
r
.
token
.
byteValue
=
data
[
:
length
]
r
.
token
.
byteValue
=
data
[
:
length
]
r
.
pos
+=
length
+
1
r
.
pos
+=
length
+
1
...
@@ -648,7 +654,7 @@ func (r *Lexer) Bytes() []byte {
...
@@ -648,7 +654,7 @@ func (r *Lexer) Bytes() []byte {
return
nil
return
nil
}
}
ret
:=
make
([]
byte
,
base64
.
StdEncoding
.
DecodedLen
(
len
(
r
.
token
.
byteValue
)))
ret
:=
make
([]
byte
,
base64
.
StdEncoding
.
DecodedLen
(
len
(
r
.
token
.
byteValue
)))
le
n
,
err
:=
base64
.
StdEncoding
.
Decode
(
ret
,
r
.
token
.
byteValue
)
n
,
err
:=
base64
.
StdEncoding
.
Decode
(
ret
,
r
.
token
.
byteValue
)
if
err
!=
nil
{
if
err
!=
nil
{
r
.
fatalError
=
&
LexerError
{
r
.
fatalError
=
&
LexerError
{
Reason
:
err
.
Error
(),
Reason
:
err
.
Error
(),
...
@@ -657,7 +663,7 @@ func (r *Lexer) Bytes() []byte {
...
@@ -657,7 +663,7 @@ func (r *Lexer) Bytes() []byte {
}
}
r
.
consume
()
r
.
consume
()
return
ret
[
:
le
n
]
return
ret
[
:
n
]
}
}
// Bool reads a true or false boolean keyword.
// Bool reads a true or false boolean keyword.
...
@@ -903,6 +909,10 @@ func (r *Lexer) UintStr() uint {
...
@@ -903,6 +909,10 @@ func (r *Lexer) UintStr() uint {
return
uint
(
r
.
Uint64Str
())
return
uint
(
r
.
Uint64Str
())
}
}
func
(
r
*
Lexer
)
UintptrStr
()
uintptr
{
return
uintptr
(
r
.
Uint64Str
())
}
func
(
r
*
Lexer
)
Int8Str
()
int8
{
func
(
r
*
Lexer
)
Int8Str
()
int8
{
s
,
b
:=
r
.
unsafeString
()
s
,
b
:=
r
.
unsafeString
()
if
!
r
.
Ok
()
{
if
!
r
.
Ok
()
{
...
@@ -992,6 +1002,22 @@ func (r *Lexer) Float32() float32 {
...
@@ -992,6 +1002,22 @@ func (r *Lexer) Float32() float32 {
return
float32
(
n
)
return
float32
(
n
)
}
}
func
(
r
*
Lexer
)
Float32Str
()
float32
{
s
,
b
:=
r
.
unsafeString
()
if
!
r
.
Ok
()
{
return
0
}
n
,
err
:=
strconv
.
ParseFloat
(
s
,
32
)
if
err
!=
nil
{
r
.
addNonfatalError
(
&
LexerError
{
Offset
:
r
.
start
,
Reason
:
err
.
Error
(),
Data
:
string
(
b
),
})
}
return
float32
(
n
)
}
func
(
r
*
Lexer
)
Float64
()
float64
{
func
(
r
*
Lexer
)
Float64
()
float64
{
s
:=
r
.
number
()
s
:=
r
.
number
()
if
!
r
.
Ok
()
{
if
!
r
.
Ok
()
{
...
@@ -1009,6 +1035,22 @@ func (r *Lexer) Float64() float64 {
...
@@ -1009,6 +1035,22 @@ func (r *Lexer) Float64() float64 {
return
n
return
n
}
}
func
(
r
*
Lexer
)
Float64Str
()
float64
{
s
,
b
:=
r
.
unsafeString
()
if
!
r
.
Ok
()
{
return
0
}
n
,
err
:=
strconv
.
ParseFloat
(
s
,
64
)
if
err
!=
nil
{
r
.
addNonfatalError
(
&
LexerError
{
Offset
:
r
.
start
,
Reason
:
err
.
Error
(),
Data
:
string
(
b
),
})
}
return
n
}
func
(
r
*
Lexer
)
Error
()
error
{
func
(
r
*
Lexer
)
Error
()
error
{
return
r
.
fatalError
return
r
.
fatalError
}
}
...
@@ -1043,6 +1085,31 @@ func (r *Lexer) GetNonFatalErrors() []*LexerError {
...
@@ -1043,6 +1085,31 @@ func (r *Lexer) GetNonFatalErrors() []*LexerError {
return
r
.
multipleErrors
return
r
.
multipleErrors
}
}
// JsonNumber fetches and json.Number from 'encoding/json' package.
// Both int, float or string, contains them are valid values
func
(
r
*
Lexer
)
JsonNumber
()
json
.
Number
{
if
r
.
token
.
kind
==
tokenUndef
&&
r
.
Ok
()
{
r
.
FetchToken
()
}
if
!
r
.
Ok
()
{
r
.
errInvalidToken
(
"json.Number"
)
return
json
.
Number
(
""
)
}
switch
r
.
token
.
kind
{
case
tokenString
:
return
json
.
Number
(
r
.
String
())
case
tokenNumber
:
return
json
.
Number
(
r
.
Raw
())
case
tokenNull
:
r
.
Null
()
return
json
.
Number
(
""
)
default
:
r
.
errSyntax
()
return
json
.
Number
(
""
)
}
}
// Interface fetches an interface{} analogous to the 'encoding/json' package.
// Interface fetches an interface{} analogous to the 'encoding/json' package.
func
(
r
*
Lexer
)
Interface
()
interface
{}
{
func
(
r
*
Lexer
)
Interface
()
interface
{}
{
if
r
.
token
.
kind
==
tokenUndef
&&
r
.
Ok
()
{
if
r
.
token
.
kind
==
tokenUndef
&&
r
.
Ok
()
{
...
...
vendor/github.com/mailru/easyjson/jwriter/writer.go
View file @
1970be1e
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
package
jwriter
package
jwriter
import
(
import
(
"encoding/base64"
"io"
"io"
"strconv"
"strconv"
"unicode/utf8"
"unicode/utf8"
...
@@ -105,9 +104,7 @@ func (w *Writer) Base64Bytes(data []byte) {
...
@@ -105,9 +104,7 @@ func (w *Writer) Base64Bytes(data []byte) {
return
return
}
}
w
.
Buffer
.
AppendByte
(
'"'
)
w
.
Buffer
.
AppendByte
(
'"'
)
dst
:=
make
([]
byte
,
base64
.
StdEncoding
.
EncodedLen
(
len
(
data
)))
w
.
base64
(
data
)
base64
.
StdEncoding
.
Encode
(
dst
,
data
)
w
.
Buffer
.
AppendBytes
(
dst
)
w
.
Buffer
.
AppendByte
(
'"'
)
w
.
Buffer
.
AppendByte
(
'"'
)
}
}
...
@@ -196,6 +193,13 @@ func (w *Writer) Uint64Str(n uint64) {
...
@@ -196,6 +193,13 @@ func (w *Writer) Uint64Str(n uint64) {
w
.
Buffer
.
Buf
=
append
(
w
.
Buffer
.
Buf
,
'"'
)
w
.
Buffer
.
Buf
=
append
(
w
.
Buffer
.
Buf
,
'"'
)
}
}
func
(
w
*
Writer
)
UintptrStr
(
n
uintptr
)
{
w
.
Buffer
.
EnsureSpace
(
20
)
w
.
Buffer
.
Buf
=
append
(
w
.
Buffer
.
Buf
,
'"'
)
w
.
Buffer
.
Buf
=
strconv
.
AppendUint
(
w
.
Buffer
.
Buf
,
uint64
(
n
),
10
)
w
.
Buffer
.
Buf
=
append
(
w
.
Buffer
.
Buf
,
'"'
)
}
func
(
w
*
Writer
)
Int8Str
(
n
int8
)
{
func
(
w
*
Writer
)
Int8Str
(
n
int8
)
{
w
.
Buffer
.
EnsureSpace
(
4
)
w
.
Buffer
.
EnsureSpace
(
4
)
w
.
Buffer
.
Buf
=
append
(
w
.
Buffer
.
Buf
,
'"'
)
w
.
Buffer
.
Buf
=
append
(
w
.
Buffer
.
Buf
,
'"'
)
...
@@ -236,11 +240,25 @@ func (w *Writer) Float32(n float32) {
...
@@ -236,11 +240,25 @@ func (w *Writer) Float32(n float32) {
w
.
Buffer
.
Buf
=
strconv
.
AppendFloat
(
w
.
Buffer
.
Buf
,
float64
(
n
),
'g'
,
-
1
,
32
)
w
.
Buffer
.
Buf
=
strconv
.
AppendFloat
(
w
.
Buffer
.
Buf
,
float64
(
n
),
'g'
,
-
1
,
32
)
}
}
func
(
w
*
Writer
)
Float32Str
(
n
float32
)
{
w
.
Buffer
.
EnsureSpace
(
20
)
w
.
Buffer
.
Buf
=
append
(
w
.
Buffer
.
Buf
,
'"'
)
w
.
Buffer
.
Buf
=
strconv
.
AppendFloat
(
w
.
Buffer
.
Buf
,
float64
(
n
),
'g'
,
-
1
,
32
)
w
.
Buffer
.
Buf
=
append
(
w
.
Buffer
.
Buf
,
'"'
)
}
func
(
w
*
Writer
)
Float64
(
n
float64
)
{
func
(
w
*
Writer
)
Float64
(
n
float64
)
{
w
.
Buffer
.
EnsureSpace
(
20
)
w
.
Buffer
.
EnsureSpace
(
20
)
w
.
Buffer
.
Buf
=
strconv
.
AppendFloat
(
w
.
Buffer
.
Buf
,
n
,
'g'
,
-
1
,
64
)
w
.
Buffer
.
Buf
=
strconv
.
AppendFloat
(
w
.
Buffer
.
Buf
,
n
,
'g'
,
-
1
,
64
)
}
}
func
(
w
*
Writer
)
Float64Str
(
n
float64
)
{
w
.
Buffer
.
EnsureSpace
(
20
)
w
.
Buffer
.
Buf
=
append
(
w
.
Buffer
.
Buf
,
'"'
)
w
.
Buffer
.
Buf
=
strconv
.
AppendFloat
(
w
.
Buffer
.
Buf
,
float64
(
n
),
'g'
,
-
1
,
64
)
w
.
Buffer
.
Buf
=
append
(
w
.
Buffer
.
Buf
,
'"'
)
}
func
(
w
*
Writer
)
Bool
(
v
bool
)
{
func
(
w
*
Writer
)
Bool
(
v
bool
)
{
w
.
Buffer
.
EnsureSpace
(
5
)
w
.
Buffer
.
EnsureSpace
(
5
)
if
v
{
if
v
{
...
@@ -326,3 +344,47 @@ func (w *Writer) String(s string) {
...
@@ -326,3 +344,47 @@ func (w *Writer) String(s string) {
w
.
Buffer
.
AppendString
(
s
[
p
:
])
w
.
Buffer
.
AppendString
(
s
[
p
:
])
w
.
Buffer
.
AppendByte
(
'"'
)
w
.
Buffer
.
AppendByte
(
'"'
)
}
}
const
encode
=
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
const
padChar
=
'='
func
(
w
*
Writer
)
base64
(
in
[]
byte
)
{
if
len
(
in
)
==
0
{
return
}
w
.
Buffer
.
EnsureSpace
(((
len
(
in
)
-
1
)
/
3
+
1
)
*
4
)
si
:=
0
n
:=
(
len
(
in
)
/
3
)
*
3
for
si
<
n
{
// Convert 3x 8bit source bytes into 4 bytes
val
:=
uint
(
in
[
si
+
0
])
<<
16
|
uint
(
in
[
si
+
1
])
<<
8
|
uint
(
in
[
si
+
2
])
w
.
Buffer
.
Buf
=
append
(
w
.
Buffer
.
Buf
,
encode
[
val
>>
18
&
0x3F
],
encode
[
val
>>
12
&
0x3F
],
encode
[
val
>>
6
&
0x3F
],
encode
[
val
&
0x3F
])
si
+=
3
}
remain
:=
len
(
in
)
-
si
if
remain
==
0
{
return
}
// Add the remaining small block
val
:=
uint
(
in
[
si
+
0
])
<<
16
if
remain
==
2
{
val
|=
uint
(
in
[
si
+
1
])
<<
8
}
w
.
Buffer
.
Buf
=
append
(
w
.
Buffer
.
Buf
,
encode
[
val
>>
18
&
0x3F
],
encode
[
val
>>
12
&
0x3F
])
switch
remain
{
case
2
:
w
.
Buffer
.
Buf
=
append
(
w
.
Buffer
.
Buf
,
encode
[
val
>>
6
&
0x3F
],
byte
(
padChar
))
case
1
:
w
.
Buffer
.
Buf
=
append
(
w
.
Buffer
.
Buf
,
byte
(
padChar
),
byte
(
padChar
))
}
}
vendor/modules.txt
View file @
1970be1e
...
@@ -644,7 +644,7 @@ github.com/liggitt/tabwriter
...
@@ -644,7 +644,7 @@ github.com/liggitt/tabwriter
github.com/lithammer/dedent
github.com/lithammer/dedent
# github.com/magiconair/properties v0.0.0-20160816085511-61b492c03cf4 => github.com/magiconair/properties v0.0.0-20160816085511-61b492c03cf4
# github.com/magiconair/properties v0.0.0-20160816085511-61b492c03cf4 => github.com/magiconair/properties v0.0.0-20160816085511-61b492c03cf4
github.com/magiconair/properties
github.com/magiconair/properties
# github.com/mailru/easyjson v0.0.0-20180823135443-60711f1a8329 => github.com/mailru/easyjson v0.0.0-201
70624190925-2f5df55504eb
# github.com/mailru/easyjson v0.0.0-20180823135443-60711f1a8329 => github.com/mailru/easyjson v0.0.0-201
80823135443-60711f1a8329
github.com/mailru/easyjson/buffer
github.com/mailru/easyjson/buffer
github.com/mailru/easyjson/jlexer
github.com/mailru/easyjson/jlexer
github.com/mailru/easyjson/jwriter
github.com/mailru/easyjson/jwriter
...
...
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