Skip to content

Commit

Permalink
Rename Repo & Fix: Test Actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
eikarna committed Apr 26, 2024
1 parent 2fbb64f commit b58a676
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
test:
docker build -t gotops .
docker run --rm -e "GODEBUG=cgocheck=2" gotops go test -v -test.timeout=30s -count=1 ./...
docker run --rm -e "GOEXPERIMENT=cgocheck2" gotops go test -v -test.timeout=30s -count=1 ./...
10 changes: 5 additions & 5 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# gotps
# gotops
Enet bindings in Go for Growtopia Private Server using cgo. Based on [codecat/go-enet](https://github.com/codecat/go-enet)

## Installation
Expand All @@ -10,12 +10,12 @@ First, you might need to install enet as a dependency:
* **MacOS**: Install the enet package with brew: `brew install enet`

```
$ go get github.com/eikarna/gotps
$ go get github.com/eikarna/gotops
```

## Usage
```go
import "github.com/eikarna/gotps"
import "github.com/eikarna/gotops"
```

The API is mostly the same as the C API, except it's more object-oriented.
Expand All @@ -27,7 +27,7 @@ This is a basic server example that responds to packets `"ping"` and `"bye"`.
package main

import (
"github.com/eikarna/gotps"
"github.com/eikarna/gotops"
"github.com/codecat/go-libs/log"
)

Expand Down Expand Up @@ -99,7 +99,7 @@ This is a basic client example that sends a ping to the server every second that
package main

import (
"github.com/eikarna/gotps"
"github.com/eikarna/gotops"
"github.com/codecat/go-libs/log"
)

Expand Down

0 comments on commit b58a676

Please sign in to comment.