Skip to content

Commit 07d1f30

Browse files
author
Nico Wehmöller
committed
Update package name and CI
1 parent dc6fe4b commit 07d1f30

File tree

10 files changed

+12
-12
lines changed

10 files changed

+12
-12
lines changed

.github/workflows/go.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212

1313
jobs:
1414
build-library:
15-
runs-on: ubuntu-latest
15+
runs-on: self-hosted
1616

1717
steps:
1818
- name: Checkout code

Readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This package provides a simple rest client for the `chefkoch.de` API.
55
## Installation
66

77
```bash
8-
go get -u github.com/wehmoen/go-ck
8+
go get -u github.com/wehmoen-dev/go-ck
99
```
1010

1111
## Usage
@@ -16,7 +16,7 @@ package main
1616

1717
import (
1818
"fmt"
19-
"github.com/wehmoen/go-ck"
19+
"github.com/wehmoen-dev/go-ck"
2020
)
2121

2222
const MyFavouriteRecipeId = "2529831396465550"

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/wehmoen/go-ck
1+
module github.com/wehmoen-dev/go-ck
22

33
go 1.22
44

pkg/client/client.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package client
22

33
import (
44
"github.com/go-resty/resty/v2"
5-
"github.com/wehmoen/go-ck/pkg/types"
5+
"github.com/wehmoen-dev/go-ck/pkg/types"
66
)
77

88
const ApiBaseUrl = "https://api.chefkoch.de/v2"

pkg/client/get_comments.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package client
22

33
import (
4-
"github.com/wehmoen/go-ck/pkg/types"
4+
"github.com/wehmoen-dev/go-ck/pkg/types"
55
)
66

77
func (c *c) GetComments(recipeId string) ([]*types.Comment, error) {

pkg/client/get_images.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package client
22

33
import (
4-
"github.com/wehmoen/go-ck/pkg/types"
4+
"github.com/wehmoen-dev/go-ck/pkg/types"
55
)
66

77
func (c *c) GetImages(recipeId string) ([]*types.RecipeImage, error) {

pkg/client/get_recipe.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package client
22

33
import (
44
"fmt"
5-
"github.com/wehmoen/go-ck/pkg/types"
5+
"github.com/wehmoen-dev/go-ck/pkg/types"
66
)
77

88
func (c *c) GetRecipe(recipeId string) (*types.Recipe, error) {

pkg/client/get_user.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package client
22

33
import (
44
"fmt"
5-
"github.com/wehmoen/go-ck/pkg/types"
5+
"github.com/wehmoen-dev/go-ck/pkg/types"
66
)
77

88
func (c *c) GetUser(userId string, includeProfile bool) (*types.User, error) {

pkg/client/search_recipes.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package client
22

33
import (
4-
"github.com/wehmoen/go-ck/pkg/types"
4+
"github.com/wehmoen-dev/go-ck/pkg/types"
55
"strconv"
66
)
77

test/init_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package test
22

33
import (
4-
"github.com/wehmoen/go-ck/pkg/client"
5-
"github.com/wehmoen/go-ck/pkg/types"
4+
"github.com/wehmoen-dev/go-ck/pkg/client"
5+
"github.com/wehmoen-dev/go-ck/pkg/types"
66
)
77

88
const TestRecipeId = "2529831396465550" // Tasty pancakes

0 commit comments

Comments
 (0)