Fix: name errors
This commit is contained in:
1 parent
3aeb73b357
commit
a60d6d3cc8
6 files changed
+23
-23
No files matched your search
@@ -56,8 +56,8 @@ jobs:
|
||||
push: true
|
||||
platforms: linux/amd64,linux/arm64
|
||||
tags: |
|
||||
javtube/metatube-server:dev
|
||||
ghcr.io/javtube/metatube-server:dev
|
||||
metatube-community/metatube-server:dev
|
||||
ghcr.io/metatube-community/metatube-server:dev
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
|
||||
@@ -70,9 +70,9 @@ jobs:
|
||||
push: true
|
||||
platforms: linux/amd64,linux/arm64
|
||||
tags: |
|
||||
javtube/metatube-server:latest
|
||||
javtube/metatube-server:${{ steps.shell.outputs.version }}
|
||||
ghcr.io/javtube/metatube-server:latest
|
||||
ghcr.io/javtube/metatube-server:${{ steps.shell.outputs.version }}
|
||||
metatube-community/metatube-server:latest
|
||||
metatube-community/metatube-server:${{ steps.shell.outputs.version }}
|
||||
ghcr.io/metatube-community/metatube-server:latest
|
||||
ghcr.io/metatube-community/metatube-server:${{ steps.shell.outputs.version }}
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
@@ -41,5 +41,5 @@ jobs:
|
||||
files: build/*
|
||||
draft: false
|
||||
prerelease: false
|
||||
repository: javtube/metatube-server-releases
|
||||
repository: metatube-community/metatube-server-releases
|
||||
token: ${{ secrets.BOT_PAT }}
|
||||
+1
-1
@@ -10,7 +10,7 @@ linters-settings:
|
||||
gci:
|
||||
sections:
|
||||
- standard
|
||||
- prefix(github.com/javtube/metatube-sdk-go)
|
||||
- prefix(github.com/metatube-community/metatube-sdk-go)
|
||||
- default
|
||||
staticcheck:
|
||||
go: '1.19'
|
||||
+1
-1
@@ -7,7 +7,7 @@ RUN apk add --update --no-cache --no-progress make git \
|
||||
&& make server
|
||||
|
||||
FROM alpine:latest
|
||||
LABEL org.opencontainers.image.source="https://github.com/javtube/metatube-sdk-go"
|
||||
LABEL org.opencontainers.image.source="https://github.com/metatube-community/metatube-sdk-go"
|
||||
|
||||
COPY --from=builder /src/build/metatube-server .
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
MODULE := github.com/javtube/metatube-sdk-go
|
||||
MODULE := github.com/metatube-community/metatube-sdk-go
|
||||
|
||||
SERVER_NAME := metatube-server
|
||||
SERVER_CODE := cmd/server/main.go
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
# MetaTube SDK Go
|
||||
|
||||
[](https://github.com/javtube/metatube-sdk-go/actions/workflows/release.yml)
|
||||
[](https://github.com/javtube/metatube-sdk-go)
|
||||
[](https://github.com/javtube/metatube-sdk-go/blob/main/go.mod)
|
||||
[](https://github.com/javtube/metatube-sdk-go/blob/main/LICENSE)
|
||||
[](https://github.com/javtube/metatube-sdk-go/tags)
|
||||
[](https://github.com/metatube-community/metatube-sdk-go/actions/workflows/release.yml)
|
||||
[](https://github.com/metatube-community/metatube-sdk-go)
|
||||
[](https://github.com/metatube-community/metatube-sdk-go/blob/main/go.mod)
|
||||
[](https://github.com/metatube-community/metatube-sdk-go/blob/main/LICENSE)
|
||||
[](https://github.com/metatube-community/metatube-sdk-go/tags)
|
||||
|
||||
[//]: # ([](https://github.com/javtube/metatube-sdk-go))
|
||||
[//]: # ([](https://github.com/metatube-community/metatube-sdk-go))
|
||||
|
||||
Metadata Tube SDK in Golang.
|
||||
|
||||
@@ -50,7 +50,7 @@ Metadata Tube SDK in Golang.
|
||||
To install this package, you first need [Go](https://golang.org/) installed (**version 1.19+ is required**), then you can use the below Go command to install SDK.
|
||||
|
||||
```sh
|
||||
go get -u github.com/javtube/metatube-sdk-go
|
||||
go get -u github.com/metatube-community/metatube-sdk-go
|
||||
```
|
||||
|
||||
## Quickstart
|
||||
@@ -67,7 +67,7 @@ import (
|
||||
"fmt"
|
||||
"log"
|
||||
|
||||
"github.com/javtube/metatube-sdk-go/engine"
|
||||
"github.com/metatube-community/metatube-sdk-go/engine"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -91,7 +91,7 @@ $ go run example.go
|
||||
|
||||
## API Examples
|
||||
|
||||
You can find detailed examples in [examples folder](https://github.com/javtube/metatube-sdk-go/tree/main/_examples/) or specific implementations in [cmd folder](https://github.com/javtube/metatube-sdk-go/tree/main/cmd/).
|
||||
You can find detailed examples in [examples folder](https://github.com/metatube-community/metatube-sdk-go/tree/main/_examples/) or specific implementations in [cmd folder](https://github.com/metatube-community/metatube-sdk-go/tree/main/cmd/).
|
||||
|
||||
### Initiate SDK engine manually
|
||||
|
||||
@@ -102,8 +102,8 @@ import (
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"github.com/javtube/metatube-sdk-go/database"
|
||||
"github.com/javtube/metatube-sdk-go/engine"
|
||||
"github.com/metatube-community/metatube-sdk-go/database"
|
||||
"github.com/metatube-community/metatube-sdk-go/engine"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -195,7 +195,7 @@ func main() {
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/javtube/metatube-sdk-go/translate"
|
||||
"github.com/metatube-community/metatube-sdk-go/translate"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -226,4 +226,4 @@ func main() {
|
||||
|
||||
## License
|
||||
|
||||
[GNU GPLv3 License](https://github.com/javtube/metatube-sdk-go/blob/main/LICENSE)
|
||||
[GNU GPLv3 License](https://github.com/metatube-community/metatube-sdk-go/blob/main/LICENSE)
|
||||
Reference in new issue
Block a user