ucbug軟件站:安全、綠色、放心的專業(yè)下載站!首頁|最近更新|專題集合|標(biāo)簽云|站內(nèi)導(dǎo)航|加入收藏
nginxConfigFormatterGo v1.0.0免費版

nginxConfigFormatterGo v1.0.0免費版

  • 軟件大?。?span>13 KB
  • 更新日期:2020-07-21
  • 軟件語言:簡體中文
  • 軟件類別:國產(chǎn)軟件
  • 軟件授權(quán):免費版
  • 評分等級:
  • 插件情況:無插件請放心使用
  • 軟件官網(wǎng)://www.evoucherdeals.com
  • 適用平臺:Win All
本地下載文件大小:13 KB高速下載高速下載器,提速50%
軟件介紹人氣軟件相關(guān)文章下載地址

nginxConfigFormatterGo是一款nginx配置文件格式化工具,作者使用go語言開發(fā),通過nginxConfigFormatterGo可以根據(jù)不同的系統(tǒng)進行打包二進制文件在服務(wù)器上使用,執(zhí)行效率更高。

nginxConfigFormatterGo(nginx配置文件格式化工具)

軟件特色

可預(yù)測的格式化結(jié)果.

所有的注釋都獨立一行.

連續(xù)的多個空行合并為一個空行.

花括號使用Java的習(xí)慣.

所有的行使用統(tǒng)一的方式進行縮進, 縮進的空格數(shù)由用戶指定 (默認 4 個空格).

多余的空白字符合并為一個空格, 但是在注釋和引號中的空白字符不進行任何處理.

安裝方法

1. go get 方式

go get github.com/rwx------/nginxConfigFormatterGo

# 可能會被安裝在如下目錄

$HOME/go/bin/nginxConfigFormatterGo

2. go build 方式

git clone https://github.com/rwx------/nginxConfigFormatterGo.git

cd nginxConfigFormatterGo

go build

3. 預(yù)編譯好的二進制包

你可以在 發(fā)布頁面 獲取預(yù)編譯的二進制包.

# linux

wget https://github.com/rwx------/nginxConfigFormatterGo/releases/download/v1.0.0/nginxConfigFormatterGo_linux_amd64 -O /usr/local/bin/nginxConfigFormatterGo

chmod +x /usr/local/bin/nginxConfigFormatterGo

# mac

wget https://github.com/rwx------/nginxConfigFormatterGo/releases/download/v1.0.0/nginxConfigFormatterGo_darwin_amd64 -O /usr/local/bin/nginxConfigFormatterGo

chmod +x /usr/local/bin/nginxConfigFormatterGo

使用方法

NAME:

nginxConfigFormatterGo - nginx 格式化工具

USAGE:

./nginxConfigFormatterGo [-s 2] [-c utf-8] [-b] [-v] [-t]

DESCRIPTION:

nginx 格式化工具

AUTHOR:

github.com/rwx------

COMMANDS:

help, h 顯示命令列表或單個命令的幫助

GLOBAL OPTIONS:

--charset value, -c value 當(dāng)前支持的字符集: gbk, gb18030, windows-1252, utf-8 (默認: "utf-8")

--space value, -s value 縮進的空格數(shù) (默認: 4)

--backup, -b 備份原始的配置文件

--verbose, -v 冗長模式

--testing, -t 只進行測試, 不真正執(zhí)行

--help, -h 顯示本頁的幫助信

標(biāo)簽格式化工具
下載地址

nginxConfigFormatterGo v1.0.0免費版

高速下載器地址:

有問題?不能下載,
下載周排行下載總排行