Skip to content

Commit 996f948

Browse files
committed
⚠ Migrate TwinProduction/g8 to TwiN/g8
1 parent 1d49d0c commit 996f948

File tree

20 files changed

+35
-35
lines changed

20 files changed

+35
-35
lines changed

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2021 TwinProduction
3+
Copyright (c) 2021 TwiN
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
66

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# g8
22

3-
![build](https://github.com/TwinProduction/g8/workflows/build/badge.svg?branch=master)
4-
[![Go Report Card](https://goreportcard.com/badge/github.com/TwinProduction/g8)](https://goreportcard.com/report/github.com/TwinProduction/g8)
5-
[![codecov](https://codecov.io/gh/TwinProduction/g8/branch/master/graph/badge.svg)](https://codecov.io/gh/TwinProduction/g8)
6-
[![Go version](https://img.shields.io/github/go-mod/go-version/TwinProduction/g8.svg)](https://github.com/TwinProduction/g8)
7-
[![Go Reference](https://pkg.go.dev/badge/github.com/TwinProduction/g8.svg)](https://pkg.go.dev/github.com/TwinProduction/g8)
8-
[![Follow TwinProduction](https://img.shields.io/github/followers/TwinProduction?label=Follow&style=social)](https://github.com/TwinProduction)
3+
![build](https://github.com/TwiN/g8/workflows/build/badge.svg?branch=master)
4+
[![Go Report Card](https://goreportcard.com/badge/github.com/TwiN/g8)](https://goreportcard.com/report/github.com/TwiN/g8)
5+
[![codecov](https://codecov.io/gh/TwiN/g8/branch/master/graph/badge.svg)](https://codecov.io/gh/TwiN/g8)
6+
[![Go version](https://img.shields.io/github/go-mod/go-version/TwiN/g8.svg)](https://github.com/TwiN/g8)
7+
[![Go Reference](https://pkg.go.dev/badge/github.com/TwiN/g8.svg)](https://pkg.go.dev/github.com/TwiN/g8)
8+
[![Follow TwiN](https://img.shields.io/github/followers/TwiN?label=Follow&style=social)](https://github.com/TwiN)
99

1010
g8, pronounced gate, is a simple Go library for protecting HTTP handlers with tokens.
1111

@@ -14,7 +14,7 @@ Tired of constantly re-implementing a security layer for each of applications? M
1414

1515
## Installation
1616
```
17-
go get -u github.com/TwinProduction/g8
17+
go get -u github.com/TwiN/g8
1818
```
1919

2020

@@ -100,7 +100,7 @@ You can also configure the client provider to cache the output of the function y
100100
clientProvider := g8.NewClientProvider(...).WithCache(ttl, maxSize)
101101
```
102102

103-
Since g8 leverages [TwinProduction/gocache](https://github.com/TwinProduction/gocache), you can also use gocache's
103+
Since g8 leverages [TwiN/gocache](https://github.com/TwiN/gocache), you can also use gocache's
104104
constants for configuring the TTL and the maximum size:
105105
- Setting the TTL to `gocache.NoExpiration` (-1) will disable the TTL.
106106
- Setting the maximum size to `gocache.NoMaxSize` (0) will disable the maximum cache size

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
module github.com/TwinProduction/g8
1+
module github.com/TwiN/g8
22

33
go 1.17
44

55
require (
6-
github.com/TwinProduction/gocache v1.2.3
6+
github.com/TwiN/gocache v1.2.4
77
go.etcd.io/bbolt v1.3.5 // indirect
88
golang.org/x/sys v0.0.0-20200519105757-fe76b779f299 // indirect
99
)

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
github.com/TwinProduction/gocache v1.2.3 h1:4wFNih4CemUX+A99Gk/EsaU0SXSNZV42Ve77v7/7ToY=
2-
github.com/TwinProduction/gocache v1.2.3/go.mod h1:Yj2daITit8TTBgiOpc26XCDSbg9xcFskUilHj9u3Mh8=
1+
github.com/TwiN/gocache v1.2.4 h1:AfJ1YRcxtQ/zZEN61URDwk/dwFG7LSRenU5qIm9dQzo=
2+
github.com/TwiN/gocache v1.2.4/go.mod h1:BjabsQQy6z5uHDorHa4LJVPEzFeitLIDbCtdv3gc1gA=
33
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
44
github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ=
55
github.com/go-redis/redis v6.15.9+incompatible/go.mod h1:NAIEuMOZ/fxfXJIrKDQDz8wamY7mA7PouImQ2Jvg6kA=

provider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"errors"
55
"time"
66

7-
"github.com/TwinProduction/gocache"
7+
"github.com/TwiN/gocache"
88
)
99

1010
var (

provider_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"testing"
55
"time"
66

7-
"github.com/TwinProduction/gocache"
7+
"github.com/TwiN/gocache"
88
)
99

1010
var (
File renamed without changes.
File renamed without changes.
File renamed without changes.

vendor/github.com/TwinProduction/gocache/LICENSE.md renamed to vendor/github.com/TwiN/gocache/LICENSE.md

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)