go version to 1.23.1
This commit is contained in:
parent
1944e29a2a
commit
2ca82f615a
6
.github/workflows/go.yml
vendored
6
.github/workflows/go.yml
vendored
@ -15,7 +15,7 @@ jobs:
|
|||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '1.20'
|
go-version: '1.23.1'
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
go build -o main.exe -v ./main.go
|
go build -o main.exe -v ./main.go
|
||||||
@ -40,7 +40,7 @@ jobs:
|
|||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '1.20'
|
go-version: '1.23.1'
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
go build -o main -v ./main.go
|
go build -o main -v ./main.go
|
||||||
@ -65,7 +65,7 @@ jobs:
|
|||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '1.20'
|
go-version: '1.23.1'
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
go build -o main -v ./main.go
|
go build -o main -v ./main.go
|
||||||
|
2
go.mod
2
go.mod
@ -2,8 +2,6 @@ module main
|
|||||||
|
|
||||||
go 1.23.1
|
go 1.23.1
|
||||||
|
|
||||||
toolchain go1.23.3
|
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/Eyevinn/mp4ff v0.46.0
|
github.com/Eyevinn/mp4ff v0.46.0
|
||||||
github.com/Sorrow446/go-mp4tag v0.0.0-20240130220823-68ce31d53e37
|
github.com/Sorrow446/go-mp4tag v0.0.0-20240130220823-68ce31d53e37
|
||||||
|
@ -253,7 +253,7 @@ func Run(adamId string, trackpath string, authtoken string, mutoken string)(erro
|
|||||||
fmt.Println(err)
|
fmt.Println(err)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
headers := map[string]any{
|
headers := map[string]interface{}{
|
||||||
"authorization": "Bearer " + authtoken,
|
"authorization": "Bearer " + authtoken,
|
||||||
"x-apple-music-user-token": mutoken,
|
"x-apple-music-user-token": mutoken,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user