Skip to content

Commit

Permalink
style: 将 json 的缩进从 4 空格改到 2 空格
Browse files Browse the repository at this point in the history
  • Loading branch information
dzpao committed Oct 17, 2020
1 parent 7f53abf commit 82cbf80
Show file tree
Hide file tree
Showing 7 changed files with 69 additions and 67 deletions.
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,20 +187,20 @@ Lua:

```json
{
"UI": {
"AmbiguousWidth": "auto",
"HistoryLines": 100000,
"RTTVHeight": 10
},
"Mud": {
"Host": "mud.pkuxkx.net",
"Port": 8080,
"Encoding": "UTF-8"
},
"Lua": {
"Enable": true,
"Path": "lua"
}
"UI": {
"AmbiguousWidth": "auto",
"HistoryLines": 100000,
"RTTVHeight": 10
},
"Mud": {
"Host": "mud.pkuxkx.net",
"Port": 8080,
"Encoding": "UTF-8"
},
"Lua": {
"Enable": true,
"Path": "lua"
}
}
```

Expand Down
26 changes: 13 additions & 13 deletions build/termux-armv6.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "go-mud",
"version": "VAR-VERSION",
"homepage": "https://github.com/mudclient/go-mud",
"maintainer": "@dzpao",
"description": "A mud client written in Go",
"arch": "arm",
"depends": [],
"files" :{
"README.md": "README.md",
"LICENSE": "LICENSE",
"dist/CHANGELOG.md": "CHANGELOG.md",
"dist/go-mud_linux_arm_6/go-mud": "bin/go-mud"
}
"name": "go-mud",
"version": "VAR-VERSION",
"homepage": "https://github.com/mudclient/go-mud",
"maintainer": "@dzpao",
"description": "A mud client written in Go",
"arch": "arm",
"depends": [],
"files" :{
"README.md": "README.md",
"LICENSE": "LICENSE",
"dist/CHANGELOG.md": "CHANGELOG.md",
"dist/go-mud_linux_arm_6/go-mud": "bin/go-mud"
}
}
26 changes: 13 additions & 13 deletions build/termux-armv7.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "go-mud",
"version": "VAR-VERSION",
"homepage": "https://github.com/mudclient/go-mud",
"maintainer": "@dzpao",
"description": "A mud client written in Go",
"arch": "arm",
"depends": [],
"files" :{
"README.md": "README.md",
"LICENSE": "LICENSE",
"dist/CHANGELOG.md": "CHANGELOG.md",
"dist/go-mud_linux_arm_7/go-mud": "bin/go-mud"
}
"name": "go-mud",
"version": "VAR-VERSION",
"homepage": "https://github.com/mudclient/go-mud",
"maintainer": "@dzpao",
"description": "A mud client written in Go",
"arch": "arm",
"depends": [],
"files" :{
"README.md": "README.md",
"LICENSE": "LICENSE",
"dist/CHANGELOG.md": "CHANGELOG.md",
"dist/go-mud_linux_arm_7/go-mud": "bin/go-mud"
}
}
26 changes: 13 additions & 13 deletions build/termux-armv8.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "go-mud",
"version": "VAR-VERSION",
"homepage": "https://github.com/mudclient/go-mud",
"maintainer": "@dzpao",
"description": "A mud client written in Go",
"arch": "aarch64",
"depends": [],
"files" :{
"README.md": "README.md",
"LICENSE": "LICENSE",
"dist/CHANGELOG.md": "CHANGELOG.md",
"dist/go-mud_linux_arm64/go-mud": "bin/go-mud"
}
"name": "go-mud",
"version": "VAR-VERSION",
"homepage": "https://github.com/mudclient/go-mud",
"maintainer": "@dzpao",
"description": "A mud client written in Go",
"arch": "aarch64",
"depends": [],
"files" :{
"README.md": "README.md",
"LICENSE": "LICENSE",
"dist/CHANGELOG.md": "CHANGELOG.md",
"dist/go-mud_linux_arm64/go-mud": "bin/go-mud"
}
}
26 changes: 13 additions & 13 deletions config-example.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"UI": {
"AmbiguousWidth": "auto",
"HistoryLines": 100000,
"RTTVHeight": 10
},
"Mud": {
"Host": "mud.pkuxkx.net",
"Port": 8080
},
"Lua": {
"Enable": true,
"Path": "lua"
}
"UI": {
"AmbiguousWidth": "auto",
"HistoryLines": 100000,
"RTTVHeight": 10
},
"Mud": {
"Host": "mud.pkuxkx.net",
"Port": 8080
},
"Lua": {
"Enable": true,
"Path": "lua"
}
}
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/mudclient/go-mud
go 1.13

require (
github.com/flw-cn/go-smartConfig v1.0.0
github.com/flw-cn/go-smartConfig v1.1.3
github.com/flw-cn/printer v0.0.0-20190906044932-ecdb12812e08
github.com/gdamore/tcell v1.3.0
github.com/mattn/go-runewidth v0.0.4
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ github.com/dzpao/tview v0.0.0-20200122091015-7e3eb050fe6b h1:EgU8jjOaqu3f1UcpWaX
github.com/dzpao/tview v0.0.0-20200122091015-7e3eb050fe6b/go.mod h1:/rBeY22VG2QprWnEqG57IBC8biVu3i0DOIjRLc9I8H0=
github.com/flw-cn/go-smartConfig v1.0.0 h1:9DYkseo+1lwbr5dPrf4B624kSwRj/yN58pQymAscFTc=
github.com/flw-cn/go-smartConfig v1.0.0/go.mod h1:sKE0iGnTaJe8XcVwxFMTptN0CCiUTlPQCWSnIqjVGBk=
github.com/flw-cn/go-smartConfig v1.1.3 h1:eyyjVFr3Jcpu/WS1J3dVE6y0dYgTVXZFvMkIqHkkTOQ=
github.com/flw-cn/go-smartConfig v1.1.3/go.mod h1:sKE0iGnTaJe8XcVwxFMTptN0CCiUTlPQCWSnIqjVGBk=
github.com/flw-cn/printer v0.0.0-20190906044932-ecdb12812e08 h1:jnmiuamX/MW+N63FBFuitjA87rbBto+RCEz8PsbexOo=
github.com/flw-cn/printer v0.0.0-20190906044932-ecdb12812e08/go.mod h1:DVfmMjyMU7s2D5RBJ+fKWvQEcrQq86g9xJbpykJYBtQ=
github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I=
Expand Down

0 comments on commit 82cbf80

Please sign in to comment.