Browse Source

Migrate to code.rocketnine.space

master v0.1.3
Trevor Slocum 1 month ago
parent
commit
1d7fe003af
9 changed files with 16 additions and 34 deletions
  1. +0
    -20
      .gitlab-ci.yml
  2. +3
    -0
      CHANGELOG
  3. +5
    -6
      README.md
  4. +1
    -1
      card.go
  5. +2
    -2
      go.mod
  6. +2
    -2
      go.sum
  7. +1
    -1
      score.go
  8. +1
    -1
      score_result.go
  9. +1
    -1
      score_test.go

+ 0
- 20
.gitlab-ci.yml View File

@ -1,20 +0,0 @@
image: golang:latest
stages:
- validate
fmt:
stage: validate
script:
- gofmt -l -s -e .
- exit $(gofmt -l -s -e . | wc -l)
vet:
stage: validate
script:
- go vet -composites=false ./...
test:
stage: validate
script:
- go test -race -v ./...

+ 3
- 0
CHANGELOG View File

@ -1,3 +1,6 @@
0.1.3:
- Migrate to code.rocketnine.space
0.1.2:
- Update joker


+ 5
- 6
README.md View File

@ -1,17 +1,16 @@
# joker-cribbage
[![GoDoc](https://gitlab.com/tslocum/godoc-static/-/raw/master/badge.svg)](https://docs.rocketnine.space/gitlab.com/tslocum/joker-cribbage)
[![CI status](https://gitlab.com/tslocum/joker-cribbage/badges/master/pipeline.svg)](https://gitlab.com/tslocum/joker-cribbage/commits/master)
[![GoDoc](https://code.rocketnine.space/tslocum/godoc-static/raw/branch/master/badge.svg)](https://docs.rocketnine.space/code.rocketnine.space/tslocum/joker-cribbage)
[![Donate](https://img.shields.io/liberapay/receives/rocketnine.space.svg?logo=liberapay)](https://liberapay.com/rocketnine.space)
Cribbage scoring library based on [joker](https://gitlab.com/tslocum/joker)
Cribbage scoring library based on [joker](https://code.rocketnine.space/tslocum/joker)
## Documentation
Documentation is available via [godoc](https://docs.rocketnine.space):
- [joker](https://docs.rocketnine.space/gitlab.com/tslocum/joker)
- [joker-cribbage](https://docs.rocketnine.space/gitlab.com/tslocum/joker-cribbage)
- [joker](https://docs.rocketnine.space/code.rocketnine.space/tslocum/joker)
- [joker-cribbage](https://docs.rocketnine.space/code.rocketnine.space/tslocum/joker-cribbage)
## Support
Please share issues and suggestions [here](https:/gitlab.com/tslocum/joker-cribbage/issues).
Please share issues and suggestions [here](https:/code.rocketnine.space/tslocum/joker-cribbage/issues).

+ 1
- 1
card.go View File

@ -1,6 +1,6 @@
package cribbage
import "gitlab.com/tslocum/joker"
import "code.rocketnine.space/tslocum/joker"
// Value returns the cribbage value of a card.
func Value(c joker.Card) int {


+ 2
- 2
go.mod View File

@ -1,5 +1,5 @@
module gitlab.com/tslocum/joker-cribbage
module code.rocketnine.space/tslocum/joker-cribbage
go 1.13
require gitlab.com/tslocum/joker v0.1.4
require code.rocketnine.space/tslocum/joker v0.1.5

+ 2
- 2
go.sum View File

@ -1,2 +1,2 @@
gitlab.com/tslocum/joker v0.1.4 h1:eE/lF/m+L9gQRajPIoZnYa+7vSg2MYlzcd39TMjs0lk=
gitlab.com/tslocum/joker v0.1.4/go.mod h1:bxTQ0FFmBP465r9z76zcm97S4Ld9eCLa3q20TyVM82A=
code.rocketnine.space/tslocum/joker v0.1.5 h1:mO2lScZOUmRfsySKbzO3z2IgNTHGocXHDiyFgsCosHs=
code.rocketnine.space/tslocum/joker v0.1.5/go.mod h1:tyFPY9/xiz86HWj4d1gLq6ZvL3vi510b2hsOjyO4wmI=

+ 1
- 1
score.go View File

@ -3,7 +3,7 @@ package cribbage
import (
"sort"
"gitlab.com/tslocum/joker"
"code.rocketnine.space/tslocum/joker"
)
// ScoringType represents a set of scoring rules.


+ 1
- 1
score_result.go View File

@ -3,7 +3,7 @@ package cribbage
import (
"fmt"
"gitlab.com/tslocum/joker"
"code.rocketnine.space/tslocum/joker"
)
// ScoreResult is a score from pegging or showing a hand.


+ 1
- 1
score_test.go View File

@ -3,7 +3,7 @@ package cribbage
import (
"testing"
. "gitlab.com/tslocum/joker"
. "code.rocketnine.space/tslocum/joker"
)
var (


Loading…
Cancel
Save