Update package name to SCF
This commit is contained in:
parent
57d38fd82e
commit
ae15234e7f
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
|
|
@ -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 := `
|
||||
|
|
8
go.mod
8
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
|
||||
)
|
||||
|
|
1
go.sum
1
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=
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package config
|
||||
package scf
|
||||
|
||||
import (
|
||||
"bufio"
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user