Skip to content

Commit

Permalink
Updated package name
Browse files Browse the repository at this point in the history
  • Loading branch information
Kardbord committed Dec 9, 2023
1 parent 01e6513 commit 6c147eb
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ release:
footer: |
## Full Changelog
https://github.com/TannerKvarfordt/imgflipgo/compare/{{ .PreviousTag }}...{{ .Tag }}
https://github.com/Kardbord/imgflipgo/compare/{{ .PreviousTag }}...{{ .Tag }}
# modelines #
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# imgflipgo

[![Unit Tests](https://github.com/TannerKvarfordt/imgflipgo/actions/workflows/unit-tests.yml/badge.svg)](https://github.com/TannerKvarfordt/imgflipgo/actions/workflows/unit-tests.yml)
[![CodeQL](https://github.com/TannerKvarfordt/imgflipgo/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/TannerKvarfordt/imgflipgo/actions/workflows/codeql-analysis.yml)
[![Go Report Card](https://goreportcard.com/badge/github.com/TannerKvarfordt/imgflipgo)](https://goreportcard.com/report/github.com/TannerKvarfordt/imgflipgo)
[![Unit Tests](https://github.com/Kardbord/imgflipgo/actions/workflows/unit-tests.yml/badge.svg)](https://github.com/Kardbord/imgflipgo/actions/workflows/unit-tests.yml)
[![CodeQL](https://github.com/Kardbord/imgflipgo/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/Kardbord/imgflipgo/actions/workflows/codeql-analysis.yml)
[![Go Report Card](https://goreportcard.com/badge/github.com/Kardbord/imgflipgo)](https://goreportcard.com/report/github.com/Kardbord/imgflipgo)

(Golang) Go bindings for the [Imgflip API](https://imgflip.com/api).

Expand All @@ -11,18 +11,18 @@
To include this library in your Go project using modules, add the following import and run `go mod tidy`.

```Go
import "github.com/TannerKvarfordt/imgflipgo"
import "github.com/Kardbord/imgflipgo"
```

Otherwise, you can run the following command.

```sh
go get github.com/TannerKvarfordt/imgflipgo
go get github.com/Kardbord/imgflipgo
```

The code is fairly self-documenting (said every developer too lazy to write real docs). There are only two [API](https://imgflip.com/api) endpoints.

- The `get_memes` endpoint (https://api.imgflip.com/get_memes) can be accessed via `imgflipgo.GetMemesWithResponse()` or `imgflipgo.GetMemes()`.
- The `caption_image` endpoint (https://api.imgflip.com/caption_image) can be accessed via `imgflipgo.CaptionImage(*CaptionRequest)`.

For a concrete example of how to use the library, check out [example.go](https://github.com/TannerKvarfordt/imgflipgo/blob/main/example/example.go).
For a concrete example of how to use the library, check out [example.go](https://github.com/Kardbord/imgflipgo/blob/main/example/example.go).
2 changes: 1 addition & 1 deletion caption-image_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os"
"testing"

"github.com/TannerKvarfordt/imgflipgo"
"github.com/Kardbord/imgflipgo"
"github.com/joho/godotenv"
)

Expand Down
2 changes: 1 addition & 1 deletion example/example.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"os"
"time"

"github.com/TannerKvarfordt/imgflipgo"
"github.com/Kardbord/imgflipgo"
"github.com/joho/godotenv"
)

Expand Down
2 changes: 1 addition & 1 deletion get-memes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package imgflipgo_test
import (
"testing"

"github.com/TannerKvarfordt/imgflipgo"
"github.com/Kardbord/imgflipgo"
)

func TestGetMemesResponse(t *testing.T) {
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/TannerKvarfordt/imgflipgo
module github.com/Kardbord/imgflipgo

go 1.17

Expand Down

0 comments on commit 6c147eb

Please sign in to comment.