From a266fa34ef16efbd390a953a079bf612c9bbe7b6 Mon Sep 17 00:00:00 2001 From: "chen.yang" Date: Thu, 22 Jul 2021 14:48:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E8=AF=AD=E6=B3=95=E9=94=99?= =?UTF-8?q?=E8=AF=AF,=20=E6=B7=BB=E5=8A=A0=20Route=20=E5=91=BD=E4=BB=A4.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: chen.yang --- Software/Applications/Route/Route_命令.md | 9 +++++++++ .../Go/Package/Encoding/细说_Golang_的_JSON_解析.md | 6 +++--- 2 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 Software/Applications/Route/Route_命令.md diff --git a/Software/Applications/Route/Route_命令.md b/Software/Applications/Route/Route_命令.md new file mode 100644 index 0000000..06c6052 --- /dev/null +++ b/Software/Applications/Route/Route_命令.md @@ -0,0 +1,9 @@ +# Route 命令 + +```bash +# 添加 +route add default gw 192.168.56.1 dev eth0 +# 删除 +route del default +route del default dev enp0s8 +``` diff --git a/Software/Development/Language/Go/Package/Encoding/细说_Golang_的_JSON_解析.md b/Software/Development/Language/Go/Package/Encoding/细说_Golang_的_JSON_解析.md index 9170c1c..b15ec3b 100644 --- a/Software/Development/Language/Go/Package/Encoding/细说_Golang_的_JSON_解析.md +++ b/Software/Development/Language/Go/Package/Encoding/细说_Golang_的_JSON_解析.md @@ -46,7 +46,7 @@ func main() { 说明: 由于 json.UnMarshal() 方法接收的是字节切片,所以首先需要把 JSON 字符串转换成字节切片 c := []byte(s) -Playground url: https://play.golang.org/p/mcB... +Playground url: ## 2.解析内嵌对象的 JSON @@ -78,7 +78,7 @@ type FruitBasket struct { } ``` -Playground url: https://play.golang.org/p/dqw... +Playground url: ## 3.解析内嵌对象数组的 JSON(Embed Array of Object) @@ -197,7 +197,7 @@ func main() { } ``` -Playground url: https://play.golang.org/p/fh8... +Playground url: ## 5.解析包含任意层级的数组和对象的 JSON 数据(arbitrary arrays and objects)