editorconfig-core-go:Go语言编写的EditorConfig Core

时间:2021-05-17 01:51:10
【文件属性】:
文件名称:editorconfig-core-go:Go语言编写的EditorConfig Core
文件大小:26KB
文件格式:ZIP
更新时间:2021-05-17 01:51:10
Go Editorconfig Core Go Go的文件解析器和操纵器。 缺少功能 转义值中的注释,可能在 正在安装 我们建议对此软件包使用Go 1.13+模块。 通过相同的路径导入。 您将用来访问它的软件包名称是editorconfig 。 import "github.com/editorconfig/editorconfig-core-go/v2" 用法 从文件解析 fp , err := os . Open ( "path/to/.editorconfig" ) if err != nil { log . Fatal ( err ) } defer fp . Close () editorConfig , err := editorconfig . Parse ( fp ) if err != nil { log . Fatal ( err ) } 从字节片解析 dat
【文件预览】:
editorconfig-core-go-master
----CMakeLists.txt(173B)
----parser.go(475B)
----Dockerfile(101B)
----testdata()
--------root()
--------a.ini(248B)
--------.editorconfig(262B)
----.gitignore(307B)
----README.md(3KB)
----editorconfig.go(6KB)
----simple_parser.go(735B)
----.gitmodules(108B)
----CHANGELOG.md(6KB)
----.github()
--------actions()
--------workflows()
--------dependabot.yml(128B)
----editorconfig_test.go(4KB)
----LICENSE(1KB)
----.goreleaser.yml(1KB)
----go.mod(214B)
----.gitattributes(12B)
----fnmatch_test.go(865B)
----definition.go(5KB)
----.golangci.yml(306B)
----config.go(2KB)
----cached_parser.go(2KB)
----go.doc(152B)
----internal()
--------assert()
----go.sum(3KB)
----.editorconfig(355B)
----Makefile(643B)
----fnmatch.go(5KB)
----core-test()
----cmd()
--------editorconfig()

网友评论