Fork and change module

This commit is contained in:
Gabe Farrell 2023-06-21 22:15:23 +00:00
parent 1fabc3b466
commit 9590520a78
9 changed files with 23 additions and 25 deletions

View file

@ -1,4 +1,4 @@
Copyright (c) 2015, Shunsuke MICHII Copyright (c) 2023, GosuImg
All rights reserved. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, Redistribution and use in source and binary forms, with or without modification,

View file

@ -1,4 +1,4 @@
repo = github.com/tidbyt/go-libwebp repo = github.com/gosuimg/gosu-libwebp
build_dir = /tmp build_dir = /tmp
cur_dir = $(shell pwd) cur_dir = $(shell pwd)
libwebp_so = ${LIBWEBP_PREFIX}/lib/libwebp.so libwebp_so = ${LIBWEBP_PREFIX}/lib/libwebp.so

View file

@ -1,11 +1,9 @@
go-libwebp gosu-libwebp
========== ==========
[![GoDoc](https://godoc.org/github.com/tidbyt/go-libwebp/webp?status.svg)](https://godoc.org/github.com/tidbyt/go-libwebp/webp)
A implementation of Go binding for [libwebp](https://developers.google.com/speed/webp/docs/api). A implementation of Go binding for [libwebp](https://developers.google.com/speed/webp/docs/api).
Originally forked from [harukasan/go-libwebp](https://github.com/harukasan/go-libwebp). Forked from [tidbyt/go-libwebp](https://github.com/harukasan/go-libwebp).
## Dependencies ## Dependencies
@ -21,8 +19,8 @@ The [examples](./examples) directory contains example codes and images.
package main package main
import ( import (
"github.com/tidbyt/go-libwebp/test/util" "github.com/gosuimg/gosu-libwebp/test/util"
"github.com/tidbyt/go-libwebp/webp" "github.com/gosuimg/gosu-libwebp/webp"
) )
func main() { func main() {
@ -53,8 +51,8 @@ import (
"bufio" "bufio"
"image" "image"
"github.com/tidbyt/go-libwebp/test/util" "github.com/gosuimg/gosu-libwebp/test/util"
"github.com/tidbyt/go-libwebp/webp" "github.com/gosuimg/gosu-libwebp/webp"
) )
func main() { func main() {
@ -87,8 +85,8 @@ import (
"image" "image"
"time" "time"
"github.com/tidbyt/go-libwebp/test/util" "github.com/gosuimg/gosu-libwebp/test/util"
"github.com/tidbyt/go-libwebp/webp" "github.com/gosuimg/gosu-libwebp/webp"
) )
func main() { func main() {
@ -139,7 +137,7 @@ func main() {
## License ## License
Copyright (c) 2016 MICHII Shunsuke. All rights reserved. Copyright (c) 2023 GosuImg. All rights reserved.
This library is released under The BSD 2-Clause License. This library is released under The BSD 2-Clause License.
See [LICENSE](./LICENSE). See [LICENSE](./LICENSE).

View file

@ -2,8 +2,8 @@
package main package main
import ( import (
"github.com/tidbyt/go-libwebp/test/util" "github.com/gosuimg/gosu-libwebp/test/util"
"github.com/tidbyt/go-libwebp/webp" "github.com/gosuimg/gosu-libwebp/webp"
) )
func main() { func main() {

View file

@ -5,8 +5,8 @@ import (
"bufio" "bufio"
"image" "image"
"github.com/tidbyt/go-libwebp/test/util" "github.com/gosuimg/gosu-libwebp/test/util"
"github.com/tidbyt/go-libwebp/webp" "github.com/gosuimg/gosu-libwebp/webp"
) )
func main() { func main() {

4
go.mod
View file

@ -1,3 +1,3 @@
module github.com/tidbyt/go-libwebp module github.com/gosuimg/gosu-libwebp
go 1.16 go 1.20

View file

@ -4,8 +4,8 @@ import (
"fmt" "fmt"
"testing" "testing"
"github.com/tidbyt/go-libwebp/test/util" "github.com/gosuimg/gosu-libwebp/test/util"
"github.com/tidbyt/go-libwebp/webp" "github.com/gosuimg/gosu-libwebp/webp"
) )
func TestDecodeAnimationInfo(t *testing.T) { func TestDecodeAnimationInfo(t *testing.T) {

View file

@ -5,8 +5,8 @@ import (
"testing" "testing"
"time" "time"
"github.com/tidbyt/go-libwebp/test/util" "github.com/gosuimg/gosu-libwebp/test/util"
"github.com/tidbyt/go-libwebp/webp" "github.com/gosuimg/gosu-libwebp/webp"
) )
func TestEncodeAnimation(t *testing.T) { func TestEncodeAnimation(t *testing.T) {

View file

@ -8,8 +8,8 @@ import (
"os" "os"
"testing" "testing"
"github.com/tidbyt/go-libwebp/test/util" "github.com/gosuimg/gosu-libwebp/test/util"
"github.com/tidbyt/go-libwebp/webp" "github.com/gosuimg/gosu-libwebp/webp"
) )
func TestMain(m *testing.M) { func TestMain(m *testing.M) {