Update package name to SCF

This commit is contained in:
Sky Johnson 2025-03-05 09:14:20 -06:00
parent 57d38fd82e
commit ae15234e7f
10 changed files with 16 additions and 16 deletions

View File

@ -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

View File

@ -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"
)

View File

@ -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 := `

View File

@ -1,4 +1,4 @@
package config
package scf
import (
"fmt"

8
go.mod
View File

@ -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
View File

@ -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=

View File

@ -1,4 +1,4 @@
package config
package scf
import (
"sync"

View File

@ -1,4 +1,4 @@
package config
package scf
import (
"bufio"

View File

@ -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) {

View File

@ -1,4 +1,4 @@
package config
package scf
// TokenType represents the type of token
type TokenType int