Skip to content
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.

Commit

Permalink
Rename module to github.com/elgopher/pixiq
Browse files Browse the repository at this point in the history
Recently Github user name jacekolszak was changed to elgopher. Change the Go module accordingly. From `github.com/jacekolszak/pixiq` to `github.com/elgopher/pixiq`
  • Loading branch information
elgopher committed Jan 24, 2022
1 parent 6a32312 commit fd0d187
Show file tree
Hide file tree
Showing 77 changed files with 168 additions and 166 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Oh yes, you can contribute! No matter what you do, we will be very grateful :)
**Pixiq is very young project, so by contributing you can have a great impact of how it will be designed and implemented**.

Some ways to contribute:
1. Help with resolving [issues](https://github.com/jacekolszak/pixiq/issues): comment, discuss, make Pull Request reviews, suggest changes, help with documentation (improve existing and create new one) and if you are ready - make your own Pull Requests :)
1. Help with resolving [issues](https://github.com/elgopher/pixiq/issues): comment, discuss, make Pull Request reviews, suggest changes, help with documentation (improve existing and create new one) and if you are ready - make your own Pull Requests :)
2. Play with API and suggest improvements based on your experience
3. Create your very own libraries, abstractions, tools, examples and tutorials and let us know about it! We will spread the world.

Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Pixiq

[![CircleCI](https://circleci.com/gh/jacekolszak/pixiq.svg?style=svg)](https://circleci.com/gh/jacekolszak/pixiq)
[![GoDoc](https://godoc.org/github.com/jacekolszak/pixiq?status.svg)](https://pkg.go.dev/mod/github.com/jacekolszak/pixiq)
[![Go Report Card](https://goreportcard.com/badge/github.com/jacekolszak/pixiq)](https://goreportcard.com/report/github.com/jacekolszak/pixiq)
[![CircleCI](https://circleci.com/gh/elgopher/pixiq.svg?style=svg)](https://circleci.com/gh/elgopher/pixiq)
[![GoDoc](https://godoc.org/github.com/elgopher/pixiq?status.svg)](https://pkg.go.dev/mod/github.com/elgopher/pixiq)
[![Go Report Card](https://goreportcard.com/badge/github.com/elgopher/pixiq)](https://goreportcard.com/report/github.com/elgopher/pixiq)

Create Pixel Art games in Golang with fun and ease.

Expand Down Expand Up @@ -30,15 +30,15 @@ Create Pixel Art games in Golang with fun and ease.

```
$ go mod init hello
$ go get -u github.com/jacekolszak/pixiq
$ go get -u github.com/elgopher/pixiq
```

```go
package main

import (
"github.com/jacekolszak/pixiq/colornames"
"github.com/jacekolszak/pixiq/glfw"
"github.com/elgopher/pixiq/colornames"
"github.com/elgopher/pixiq/glfw"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion blend/blend.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
package blend

import (
"github.com/jacekolszak/pixiq/image"
"github.com/elgopher/pixiq/image"
)

// ColorBlender blends source and target colors together. It is executed by Tool
Expand Down
6 changes: 3 additions & 3 deletions blend/blend_bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package blend_test
import (
"testing"

"github.com/jacekolszak/pixiq/blend"
"github.com/jacekolszak/pixiq/image"
"github.com/jacekolszak/pixiq/image/fake"
"github.com/elgopher/pixiq/blend"
"github.com/elgopher/pixiq/image"
"github.com/elgopher/pixiq/image/fake"
)

var resolutions = map[string]struct {
Expand Down
6 changes: 3 additions & 3 deletions blend/blend_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (

"github.com/stretchr/testify/assert"

"github.com/jacekolszak/pixiq/blend"
"github.com/jacekolszak/pixiq/image"
"github.com/jacekolszak/pixiq/image/fake"
"github.com/elgopher/pixiq/blend"
"github.com/elgopher/pixiq/image"
"github.com/elgopher/pixiq/image/fake"
)

func TestNew(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion clear/clear.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package clear

import (
"github.com/jacekolszak/pixiq/image"
"github.com/elgopher/pixiq/image"
)

// New returns new instance of *clear.Tool
Expand Down
6 changes: 3 additions & 3 deletions clear/clear_bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package clear_test
import (
"testing"

"github.com/jacekolszak/pixiq/clear"
"github.com/jacekolszak/pixiq/image"
"github.com/jacekolszak/pixiq/image/fake"
"github.com/elgopher/pixiq/clear"
"github.com/elgopher/pixiq/image"
"github.com/elgopher/pixiq/image/fake"
)

func BenchmarkTool_Clear(b *testing.B) {
Expand Down
6 changes: 3 additions & 3 deletions clear/clear_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (

"github.com/stretchr/testify/assert"

"github.com/jacekolszak/pixiq/clear"
"github.com/jacekolszak/pixiq/image"
"github.com/jacekolszak/pixiq/image/fake"
"github.com/elgopher/pixiq/clear"
"github.com/elgopher/pixiq/image"
"github.com/elgopher/pixiq/image/fake"
)

func TestNew(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion colornames/colornames.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
package colornames

import (
"github.com/jacekolszak/pixiq/image"
"github.com/elgopher/pixiq/image"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion colornames/colornames_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/stretchr/testify/assert"

"github.com/jacekolszak/pixiq/image"
"github.com/elgopher/pixiq/image"
)

func Test(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion decoder/decoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
_ "image/png" // Register PNG decoder
"os"

"github.com/jacekolszak/pixiq/image"
"github.com/elgopher/pixiq/image"
)

// ImageFactory creates a new image with given dimensions.
Expand Down
8 changes: 4 additions & 4 deletions decoder/decoder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

"github.com/jacekolszak/pixiq/colornames"
"github.com/jacekolszak/pixiq/decoder"
"github.com/jacekolszak/pixiq/image"
"github.com/jacekolszak/pixiq/image/fake"
"github.com/elgopher/pixiq/colornames"
"github.com/elgopher/pixiq/decoder"
"github.com/elgopher/pixiq/image"
"github.com/elgopher/pixiq/image/fake"
)

func TestNew(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions docs/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Why there is no abstraction for opening windows?

> Because it is really hard to design such abstraction. There are way too many
platforms varying in possibilities (PCs, Macs, mobile devices etc.). But we are
open for [proposals](https://github.com/jacekolszak/pixiq/issues). There is
open for [proposals](https://github.com/elgopher/pixiq/issues). There is
a chance that it will be feasible to create such abstraction just for PCs
(Win, Mac and Linux).

Expand All @@ -57,8 +57,8 @@ for example it does not allow to change the look of the cursor or to set
the window transparency. Why?

> Because we haven't had time to do it yet. If something is really important
for you then propably it is time to submit an [Issue](https://github.com/jacekolszak/pixiq/issues)
or maybe even make a change by submitting a [Pull Request](https://github.com/jacekolszak/pixiq/pulls).
for you then propably it is time to submit an [Issue](https://github.com/elgopher/pixiq/issues)
or maybe even make a change by submitting a [Pull Request](https://github.com/elgopher/pixiq/pulls).
The `glfw.OpenGL` struct does not need to implement any abstractions
for opening windows, therefore it may be extended freely.

Expand Down
2 changes: 1 addition & 1 deletion docs/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@

* unfortunetly it is not possible to have only automated tests.
* some tests require manual work.
* before merging each PR it should be tested manually using all [examples](https://github.com/jacekolszak/pixiq/tree/master/examples)
* before merging each PR it should be tested manually using all [examples](https://github.com/elgopher/pixiq/tree/master/examples)
12 changes: 6 additions & 6 deletions examples/blend/main.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package main

import (
"github.com/jacekolszak/pixiq/blend"
"github.com/jacekolszak/pixiq/clear"
"github.com/jacekolszak/pixiq/colornames"
"github.com/jacekolszak/pixiq/glblend"
"github.com/jacekolszak/pixiq/glfw"
"github.com/jacekolszak/pixiq/image"
"github.com/elgopher/pixiq/blend"
"github.com/elgopher/pixiq/clear"
"github.com/elgopher/pixiq/colornames"
"github.com/elgopher/pixiq/glblend"
"github.com/elgopher/pixiq/glfw"
"github.com/elgopher/pixiq/image"
)

func main() {
Expand Down
12 changes: 6 additions & 6 deletions examples/clear/main.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package main

import (
"github.com/jacekolszak/pixiq/clear"
"github.com/jacekolszak/pixiq/colornames"
"github.com/jacekolszak/pixiq/glclear"
"github.com/jacekolszak/pixiq/glfw"
"github.com/jacekolszak/pixiq/image"
"github.com/jacekolszak/pixiq/keyboard"
"github.com/elgopher/pixiq/clear"
"github.com/elgopher/pixiq/colornames"
"github.com/elgopher/pixiq/glclear"
"github.com/elgopher/pixiq/glfw"
"github.com/elgopher/pixiq/image"
"github.com/elgopher/pixiq/keyboard"
)

type clearTool interface {
Expand Down
8 changes: 4 additions & 4 deletions examples/cursor/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package main
import (
"log"

"github.com/jacekolszak/pixiq/colornames"
"github.com/jacekolszak/pixiq/glfw"
"github.com/jacekolszak/pixiq/image"
"github.com/jacekolszak/pixiq/mouse"
"github.com/elgopher/pixiq/colornames"
"github.com/elgopher/pixiq/glfw"
"github.com/elgopher/pixiq/image"
"github.com/elgopher/pixiq/mouse"
)

func main() {
Expand Down
6 changes: 3 additions & 3 deletions examples/decoder/main.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package main

import (
"github.com/jacekolszak/pixiq/blend"
"github.com/jacekolszak/pixiq/decoder"
"github.com/jacekolszak/pixiq/glfw"
"github.com/elgopher/pixiq/blend"
"github.com/elgopher/pixiq/decoder"
"github.com/elgopher/pixiq/glfw"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions examples/goimage/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package main
import (
"image"

"github.com/jacekolszak/pixiq/glfw"
"github.com/jacekolszak/pixiq/goimage"
"github.com/elgopher/pixiq/glfw"
"github.com/elgopher/pixiq/goimage"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions examples/hello-world/main.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package main

import (
"github.com/jacekolszak/pixiq/colornames"
"github.com/jacekolszak/pixiq/glfw"
"github.com/elgopher/pixiq/colornames"
"github.com/elgopher/pixiq/glfw"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions examples/image/lines/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package main
import (
"log"

"github.com/jacekolszak/pixiq/glfw"
"github.com/jacekolszak/pixiq/image"
"github.com/elgopher/pixiq/glfw"
"github.com/elgopher/pixiq/image"
)

// This example shows how to set all pixels using Lines
Expand Down
4 changes: 2 additions & 2 deletions examples/image/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"log"

"github.com/jacekolszak/pixiq/colornames"
"github.com/jacekolszak/pixiq/glfw"
"github.com/elgopher/pixiq/colornames"
"github.com/elgopher/pixiq/glfw"
)

// This program shows how to create an Image and manipulate its pixels.
Expand Down
6 changes: 3 additions & 3 deletions examples/image/modify/opengl/draw/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"log"
"time"

"github.com/jacekolszak/pixiq/gl"
"github.com/jacekolszak/pixiq/glfw"
"github.com/jacekolszak/pixiq/image"
"github.com/elgopher/pixiq/gl"
"github.com/elgopher/pixiq/glfw"
"github.com/elgopher/pixiq/image"
)

func main() {
Expand Down
6 changes: 3 additions & 3 deletions examples/image/modify/opengl/selection/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package main
import (
"log"

"github.com/jacekolszak/pixiq/gl"
"github.com/jacekolszak/pixiq/glfw"
"github.com/jacekolszak/pixiq/image"
"github.com/elgopher/pixiq/gl"
"github.com/elgopher/pixiq/glfw"
"github.com/elgopher/pixiq/image"
)

func main() {
Expand Down
6 changes: 3 additions & 3 deletions examples/keyboard/justpressed/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package main
import (
"log"

"github.com/jacekolszak/pixiq/colornames"
"github.com/jacekolszak/pixiq/glfw"
"github.com/jacekolszak/pixiq/keyboard"
"github.com/elgopher/pixiq/colornames"
"github.com/elgopher/pixiq/glfw"
"github.com/elgopher/pixiq/keyboard"
)

func main() {
Expand Down
6 changes: 3 additions & 3 deletions examples/keyboard/pressed/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package main
import (
"log"

"github.com/jacekolszak/pixiq/colornames"
"github.com/jacekolszak/pixiq/glfw"
"github.com/jacekolszak/pixiq/keyboard"
"github.com/elgopher/pixiq/colornames"
"github.com/elgopher/pixiq/glfw"
"github.com/elgopher/pixiq/keyboard"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions examples/keyboard/pressedkeys/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"log"

"github.com/jacekolszak/pixiq/glfw"
"github.com/jacekolszak/pixiq/keyboard"
"github.com/elgopher/pixiq/glfw"
"github.com/elgopher/pixiq/keyboard"
)

func main() {
Expand Down
10 changes: 5 additions & 5 deletions examples/mouse/position/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ package main
import (
"log"

"github.com/jacekolszak/pixiq/clear"
"github.com/jacekolszak/pixiq/colornames"
"github.com/jacekolszak/pixiq/glfw"
"github.com/jacekolszak/pixiq/image"
"github.com/jacekolszak/pixiq/mouse"
"github.com/elgopher/pixiq/clear"
"github.com/elgopher/pixiq/colornames"
"github.com/elgopher/pixiq/glfw"
"github.com/elgopher/pixiq/image"
"github.com/elgopher/pixiq/mouse"
)

func main() {
Expand Down
8 changes: 4 additions & 4 deletions examples/mouse/pressed/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package main
import (
"log"

"github.com/jacekolszak/pixiq/colornames"
"github.com/jacekolszak/pixiq/glfw"
"github.com/jacekolszak/pixiq/image"
"github.com/jacekolszak/pixiq/mouse"
"github.com/elgopher/pixiq/colornames"
"github.com/elgopher/pixiq/glfw"
"github.com/elgopher/pixiq/image"
"github.com/elgopher/pixiq/mouse"
)

func main() {
Expand Down
6 changes: 3 additions & 3 deletions examples/mouse/scroll/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package main
import (
"log"

"github.com/jacekolszak/pixiq/colornames"
"github.com/jacekolszak/pixiq/glfw"
"github.com/jacekolszak/pixiq/mouse"
"github.com/elgopher/pixiq/colornames"
"github.com/elgopher/pixiq/glfw"
"github.com/elgopher/pixiq/mouse"
)

func main() {
Expand Down
Loading

0 comments on commit fd0d187

Please sign in to comment.