feat: moving to the VULTRAS.
This commit is contained in:
parent
b4183239f7
commit
89be9a69be
5 changed files with 14 additions and 13 deletions
3
api.go
3
api.go
|
@ -6,7 +6,7 @@ import (
|
|||
"net/http"
|
||||
"net/url"
|
||||
"fmt"
|
||||
"github.com/di4f/bond/contents"
|
||||
"vultras.su/core/bond/contents"
|
||||
)
|
||||
|
||||
type Decoder interface {
|
||||
|
@ -14,6 +14,7 @@ type Decoder interface {
|
|||
}
|
||||
|
||||
type Func func(*Context)
|
||||
|
||||
func (fn Func) ServeHTTP(w ResponseWriter, r *Request) {
|
||||
fn(&Context{
|
||||
R: r,
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"github.com/di4f/bond"
|
||||
"github.com/di4f/bond/methods"
|
||||
"github.com/di4f/bond/contents"
|
||||
"vultras.su/core/bond"
|
||||
"vultras.su/core/bond/methods"
|
||||
"vultras.su/core/bond/contents"
|
||||
)
|
||||
|
||||
type GetNotesOptions struct {
|
||||
|
|
2
go.mod
2
go.mod
|
@ -1,3 +1,3 @@
|
|||
module github.com/di4f/bond
|
||||
module vultras.su/core/bond
|
||||
|
||||
go 1.21.3
|
||||
|
|
|
@ -2,7 +2,7 @@ package bond
|
|||
|
||||
import (
|
||||
"net/http"
|
||||
"github.com/di4f/bond/methods"
|
||||
"vultras.su/core/bond/methods"
|
||||
)
|
||||
|
||||
// The type implements functionality for multiplexing
|
||||
|
|
|
@ -3,5 +3,5 @@ version: 3
|
|||
tasks:
|
||||
btest:
|
||||
cmds:
|
||||
- go build -o ./test ./cmd/test/
|
||||
- go build ./cmd/test/
|
||||
|
||||
|
|
Loading…
Reference in a new issue