Skip to content

Commit

Permalink
change moudle path
Browse files Browse the repository at this point in the history
  • Loading branch information
xhofe authored Jul 21, 2024
1 parent 0ce84dc commit c2e3da2
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ jobs:
js: true
steps:
- id: go-test
uses: djherbis/actions/go-test@main
uses: alist-org/actions/go-test@main
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
coveralls_parallel: true
if: ${{ !matrix.js }}
- id: go-test-js
uses: djherbis/actions/go-test-js@main
uses: alist-org/actions/go-test-js@main
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
coveralls_parallel: true
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
times
==========

[![GoDoc](https://godoc.org/github.com/djherbis/times?status.svg)](https://godoc.org/github.com/djherbis/times)
[![Release](https://img.shields.io/github/release/djherbis/times.svg)](https://github.com/djherbis/times/releases/latest)
[![GoDoc](https://godoc.org/github.com/alist-org/times?status.svg)](https://godoc.org/github.com/alist-org/times)
[![Release](https://img.shields.io/github/release/alist-org/times.svg)](https://github.com/alist-org/times/releases/latest)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](LICENSE.txt)
[![go test](https://github.com/djherbis/times/actions/workflows/go-test.yml/badge.svg)](https://github.com/djherbis/times/actions/workflows/go-test.yml)
[![Coverage Status](https://coveralls.io/repos/djherbis/times/badge.svg?branch=master)](https://coveralls.io/r/djherbis/times?branch=master)
[![Go Report Card](https://goreportcard.com/badge/github.com/djherbis/times)](https://goreportcard.com/report/github.com/djherbis/times)
[![Sourcegraph](https://sourcegraph.com/github.com/djherbis/times/-/badge.svg)](https://sourcegraph.com/github.com/djherbis/times?badge)
[![go test](https://github.com/alist-org/times/actions/workflows/go-test.yml/badge.svg)](https://github.com/alist-org/times/actions/workflows/go-test.yml)
[![Coverage Status](https://coveralls.io/repos/alist-org/times/badge.svg?branch=master)](https://coveralls.io/r/alist-org/times?branch=master)
[![Go Report Card](https://goreportcard.com/badge/github.com/alist-org/times)](https://goreportcard.com/report/github.com/alist-org/times)
[![Sourcegraph](https://sourcegraph.com/github.com/alist-org/times/-/badge.svg)](https://sourcegraph.com/github.com/alist-org/times?badge)

Usage
------------
Expand All @@ -21,7 +21,7 @@ package main
import (
"log"

"github.com/djherbis/times"
"github.com/alist-org/times"
)

func main() {
Expand Down Expand Up @@ -63,5 +63,5 @@ only return false on those platforms when the syscall used to obtain them fails.
Installation
------------
```sh
go get -u github.com/djherbis/times
go get -u github.com/alist-org/times
```
2 changes: 1 addition & 1 deletion example/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"path/filepath"
"time"

"github.com/djherbis/times"
"github.com/alist-org/times"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/djherbis/times
module github.com/alist-org/times

go 1.16

Expand Down
2 changes: 1 addition & 1 deletion js.cover.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM golang:1.17
RUN curl -sL https://deb.nodesource.com/setup_17.x | bash
RUN apt-get install --yes nodejs

WORKDIR /go/src/github.com/djherbis/times
WORKDIR /go/src/github.com/alist-org/times
COPY . .

RUN GO111MODULE=auto GOOS=js GOARCH=wasm go test -covermode=count -coverprofile=profile.cov -exec="$(go env GOROOT)/misc/wasm/go_js_wasm_exec"
8 changes: 4 additions & 4 deletions js.cover.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -e

docker build -f js.cover.dockerfile -t js.cover.djherbis.times .
docker create --name js.cover.djherbis.times js.cover.djherbis.times
docker cp js.cover.djherbis.times:/go/src/github.com/djherbis/times/profile.cov .
docker rm -v js.cover.djherbis.times
docker build -f js.cover.dockerfile -t js.cover.alist-org.times .
docker create --name js.cover.alist-org.times js.cover.alist-org.times
docker cp js.cover.alist-org.times:/go/src/github.com/alist-org/times/profile.cov .
docker rm -v js.cover.alist-org.times
2 changes: 1 addition & 1 deletion linux.cover.dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM golang:1.17

WORKDIR /go/src/github.com/djherbis/times
WORKDIR /go/src/github.com/alist-org/times
COPY . .

RUN GO111MODULE=auto go test -covermode=count -coverprofile=profile.cov
8 changes: 4 additions & 4 deletions linux.cover.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -e

docker build -f linux.cover.dockerfile -t linux.cover.djherbis.times .
docker create --name linux.cover.djherbis.times linux.cover.djherbis.times
docker cp linux.cover.djherbis.times:/go/src/github.com/djherbis/times/profile.cov .
docker rm -v linux.cover.djherbis.times
docker build -f linux.cover.dockerfile -t linux.cover.alist-org.times .
docker create --name linux.cover.alist-org.times linux.cover.alist-org.times
docker cp linux.cover.alist-org.times:/go/src/github.com/alist-org/times/profile.cov .
docker rm -v linux.cover.alist-org.times

0 comments on commit c2e3da2

Please sign in to comment.