Skip to content

Commit

Permalink
Fix Path
Browse files Browse the repository at this point in the history
  • Loading branch information
lemon-mint committed May 21, 2024
1 parent d8be73b commit ac2feb1
Show file tree
Hide file tree
Showing 21 changed files with 30 additions and 29 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
[![GitHub license](https://img.shields.io/github/license/lemon-mint/experiment?style=for-the-badge&cache_key=0)](https://github.com/lemon-mint/experiment/blob/main/LICENSE)
[![GitHub Workflow Status (event)](https://img.shields.io/github/actions/workflow/status/lemon-mint/experiment/go.yml?event=push&style=for-the-badge)](https://github.com/lemon-mint/experiment/actions/workflows/go.yml)
[![Go Reference](https://img.shields.io/badge/go-reference-%23007d9c?style=for-the-badge&logo=go)](https://pkg.go.dev/v8.run/go/exp)
# exp-pkgs
[![Go Reference](https://img.shields.io/badge/go-reference-%23007d9c?style=for-the-badge&logo=go)](https://pkg.go.dev/gopkg.eu.org/exppkgs)

# Exp Pkgs

experimental packages

# Installation

```bash
go get -u v8.run/go/exp
go get -u gopkg.eu.org/exppkgs
```
2 changes: 1 addition & 1 deletion broadcast/butil/broadcastchannel.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package butil
import (
"sync"

"v8.run/go/exp/broadcast"
"gopkg.eu.org/exppkgs/broadcast"
)

var broadcastChannelMap = sync.Map{}
Expand Down
2 changes: 1 addition & 1 deletion broadcast/evbus/evbus.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"sync"
"sync/atomic"

"v8.run/go/exp/broadcast"
"gopkg.eu.org/exppkgs/broadcast"
)

var evbus_map sync.Map
Expand Down
2 changes: 1 addition & 1 deletion broadcast/evbus/evbus_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"sync/atomic"
"testing"

"v8.run/go/exp/broadcast/evbus"
"gopkg.eu.org/exppkgs/broadcast/evbus"
)

func TestEvbus(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion cmd/bfbuild/bfbuild.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"log"
"os"

"v8.run/go/exp/hash/hashutil/bloom"
"gopkg.eu.org/exppkgs/hash/hashutil/bloom"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion container2/ring2/ring2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package ring2_test
import (
"testing"

"v8.run/go/exp/container2/ring2"
"gopkg.eu.org/exppkgs/container2/ring2"
)

func TestRing2(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions fastrand/alg/alg.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package alg

import (
"v8.run/go/exp/fastrand/alg/splitmix64"
"v8.run/go/exp/fastrand/alg/xoshiro256plusplus"
"gopkg.eu.org/exppkgs/fastrand/alg/splitmix64"
"gopkg.eu.org/exppkgs/fastrand/alg/xoshiro256plusplus"
)

func Splitmix64() uint64 {
Expand Down
2 changes: 1 addition & 1 deletion fastrand/alg/xoshiro256plusplus/xoshiro256plusplus.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ package xoshiro256plusplus
import (
"sync"

"v8.run/go/exp/fastrand/alg/splitmix64"
"gopkg.eu.org/exppkgs/fastrand/alg/splitmix64"
)

type State [4]uint64
Expand Down
2 changes: 1 addition & 1 deletion fastrand/example_rng_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package fastrand_test
import (
"fmt"

"v8.run/go/exp/fastrand"
"gopkg.eu.org/exppkgs/fastrand"
)

func Example_rNG() {
Expand Down
2 changes: 1 addition & 1 deletion fastrand/example_splitmix64_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package fastrand_test
import (
"fmt"

"v8.run/go/exp/fastrand/alg"
"gopkg.eu.org/exppkgs/fastrand/alg"
)

func Example_splitmix64() {
Expand Down
4 changes: 2 additions & 2 deletions fastrand/rng.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"encoding/binary"
"sync"

"v8.run/go/exp/fastrand/alg/splitmix64"
"v8.run/go/exp/util/noescape"
"gopkg.eu.org/exppkgs/fastrand/alg/splitmix64"
"gopkg.eu.org/exppkgs/util/noescape"
)

type RNG struct {
Expand Down
2 changes: 1 addition & 1 deletion fastrand/u32.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
_ "runtime"
_ "unsafe"

"v8.run/go/exp/util/mathutil"
"gopkg.eu.org/exppkgs/util/mathutil"
)

func runtime_fastrand() uint32
Expand Down
4 changes: 2 additions & 2 deletions hash/hashutil/bloom/bloomf.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"errors"
"math"

"v8.run/go/exp/fastrand/alg/splitmix64"
"v8.run/go/exp/hash/wyhash"
"gopkg.eu.org/exppkgs/fastrand/alg/splitmix64"
"gopkg.eu.org/exppkgs/hash/wyhash"
)

type Bloom struct {
Expand Down
2 changes: 1 addition & 1 deletion hash/hashutil/hasher.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"reflect"
"unsafe"

"v8.run/go/exp/hash/wyhash"
"gopkg.eu.org/exppkgs/hash/wyhash"
)

func Hasher[T comparable](seed uint64) func(T) uint64 {
Expand Down
2 changes: 1 addition & 1 deletion hash/wyhash/wyhash_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"
"unsafe"

"v8.run/go/exp/fastrand/alg/splitmix64"
"gopkg.eu.org/exppkgs/fastrand/alg/splitmix64"
)

func Test_wyhash(t *testing.T) {
Expand Down
8 changes: 4 additions & 4 deletions hashtable/table_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (
"sync"
"testing"

"v8.run/go/exp/fastrand"
"v8.run/go/exp/hash"
"v8.run/go/exp/hashtable"
"v8.run/go/exp/util/slice"
"gopkg.eu.org/exppkgs/fastrand"
"gopkg.eu.org/exppkgs/hash"
"gopkg.eu.org/exppkgs/hashtable"
"gopkg.eu.org/exppkgs/util/slice"
)

const size = 1 << 20
Expand Down
2 changes: 1 addition & 1 deletion pool2/gopool1/gopool1_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"testing"
"time"

"v8.run/go/exp/pool2/gopool1"
"gopkg.eu.org/exppkgs/pool2/gopool1"
)

func TestGoPool1Leak(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pool2/gopool2/gopool2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"
"time"

"v8.run/go/exp/pool2/gopool2"
"gopkg.eu.org/exppkgs/pool2/gopool2"
)

func some_io_job(wg *sync.WaitGroup) {
Expand Down
2 changes: 1 addition & 1 deletion time2/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package time2
import (
"time"

"v8.run/go/exp/time2/timeparse"
"gopkg.eu.org/exppkgs/time2/timeparse"
)

type DateTime struct {
Expand Down
2 changes: 1 addition & 1 deletion util/randutil/randstr.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"crypto/rand"
"encoding/base64"

"v8.run/go/exp/fastrand"
"gopkg.eu.org/exppkgs/fastrand"
)

func RandString(size int) string {
Expand Down
2 changes: 1 addition & 1 deletion util/slice/shuffle.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package slice

import (
"v8.run/go/exp/fastrand"
"gopkg.eu.org/exppkgs/fastrand"
)

func Shuffle[T any](data []T) {
Expand Down

0 comments on commit ac2feb1

Please sign in to comment.