diff --git a/README.md b/README.md index 44de0c1..e830149 100644 --- a/README.md +++ b/README.md @@ -136,7 +136,7 @@ This parser provides competitive performance compared to popular formats like JS *Benchmarked on AMD Ryzen 9 7950X 16-Core Processor* -## Why Choose This Parser? +## Why Choose SCF? - **Readability**: Simple syntax that's easy for humans to read and write - **Flexibility**: Supports various data types and nested structures diff --git a/bench/get_test.go b/bench/get_test.go index 2c73058..061ea73 100644 --- a/bench/get_test.go +++ b/bench/get_test.go @@ -1,11 +1,11 @@ -package config +package scf_test import ( "encoding/json" "strings" "testing" - config "git.sharkk.net/Go/Config" + config "git.sharkk.net/Go/SCF" "github.com/BurntSushi/toml" "gopkg.in/yaml.v3" ) diff --git a/bench/parse_test.go b/bench/parse_test.go index 76873ad..928290f 100644 --- a/bench/parse_test.go +++ b/bench/parse_test.go @@ -1,4 +1,4 @@ -package config +package scf_test import ( "encoding/json" @@ -6,12 +6,11 @@ import ( "strings" "testing" - config "git.sharkk.net/Go/Config" + config "git.sharkk.net/Go/SCF" "github.com/BurntSushi/toml" "gopkg.in/yaml.v3" ) -// Original benchmarks func BenchmarkSmallConfig(b *testing.B) { // Small config with just a few key-value pairs smallConfig := ` diff --git a/config.go b/config.go index 1cc2e5b..0ece9aa 100644 --- a/config.go +++ b/config.go @@ -1,4 +1,4 @@ -package config +package scf import ( "fmt" diff --git a/go.mod b/go.mod index ad173ff..ee54bd0 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,8 @@ -module git.sharkk.net/Go/Config +module git.sharkk.net/Go/SCF -go 1.23.5 +go 1.24.1 require ( - github.com/BurntSushi/toml v1.4.0 // indirect - gopkg.in/yaml.v3 v3.0.1 // indirect + github.com/BurntSushi/toml v1.4.0 + gopkg.in/yaml.v3 v3.0.1 ) diff --git a/go.sum b/go.sum index 2ee2c3d..ce8cdb0 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,6 @@ github.com/BurntSushi/toml v1.4.0 h1:kuoIxZQy2WRRk1pttg9asf+WVv6tWQuBNVmK8+nqPr0= github.com/BurntSushi/toml v1.4.0/go.mod h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/pool.go b/pool.go index bcd55cc..74b77f0 100644 --- a/pool.go +++ b/pool.go @@ -1,4 +1,4 @@ -package config +package scf import ( "sync" diff --git a/scanner.go b/scanner.go index 8ac6589..a542591 100644 --- a/scanner.go +++ b/scanner.go @@ -1,4 +1,4 @@ -package config +package scf import ( "bufio" diff --git a/tests/config_test.go b/tests/config_test.go index 2c3571a..f0181e5 100644 --- a/tests/config_test.go +++ b/tests/config_test.go @@ -1,11 +1,11 @@ -package config_test +package scf_test import ( "reflect" "strings" "testing" - config "git.sharkk.net/Go/Config" + config "git.sharkk.net/Go/SCF" ) func TestBasicKeyValuePairs(t *testing.T) { diff --git a/token.go b/token.go index 176fd0e..bbe5cd6 100644 --- a/token.go +++ b/token.go @@ -1,4 +1,4 @@ -package config +package scf // TokenType represents the type of token type TokenType int