Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
596196cdc0
|
||
| c4b7b8ffe1 | |||
| 3f639fe803 |
25
.github/workflows/go.yml
vendored
25
.github/workflows/go.yml
vendored
@@ -1,25 +0,0 @@
|
||||
# This workflow will build a golang project
|
||||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
|
||||
|
||||
name: Go
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: '1.22'
|
||||
|
||||
- name: Test
|
||||
run: go test -v ./...
|
||||
@@ -14,14 +14,14 @@ liteq allows to run tens of thousands of jobs per second if needed. It can also
|
||||
### Install
|
||||
|
||||
```sh
|
||||
go get github.com/khepin/liteq
|
||||
go get git.jadud.com/jadudm/liteq
|
||||
```
|
||||
|
||||
### Setup and DB creation
|
||||
|
||||
```go
|
||||
import (
|
||||
"github.com/khepin/liteq"
|
||||
"git.jadud.com/jadudmliteq"
|
||||
_ "github.com/mattn/go-sqlite3"
|
||||
)
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"math/rand"
|
||||
"time"
|
||||
|
||||
"github.com/khepin/liteq"
|
||||
"git.jadud.com/jadudm/liteq"
|
||||
_ "github.com/mattn/go-sqlite3"
|
||||
)
|
||||
|
||||
|
||||
2
go.mod
2
go.mod
@@ -1,4 +1,4 @@
|
||||
module github.com/khepin/liteq
|
||||
module git.jadud.com/jadudm/liteq
|
||||
|
||||
go 1.22.0
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/khepin/liteq/internal"
|
||||
"git.jadud.com/jadudm/liteq/internal"
|
||||
"github.com/matryer/is"
|
||||
_ "github.com/mattn/go-sqlite3"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user