Commit a4e67474 authored by tavit ohanian's avatar tavit ohanian

initial fork

parent 534a6ccf
Pipeline #422 passed with stages
in 47 seconds
stages:
- build
- test
variables:
BUILD_DIR: "/tmp/$CI_CONCURRENT_PROJECT_ID"
before_script:
- mkdir -p $BUILD_DIR/src
- cd $BUILD_DIR/src
- if [ -d $CI_PROJECT_DIR ]
- then
- echo "soft link $CI_PROJECT_DIR exists"
- else
- echo "creating soft link $CI_PROJECT_DIR"
- ln -s $CI_PROJECT_DIR
- fi
- cd $CI_PROJECT_DIR
build:
stage: build
tags:
- testing
script:
- echo $CI_JOB_STAGE
- go build
test:
stage: test
tags:
- testing
script:
- echo $CI_JOB_STAGE
- go test -cover
coverage: '/coverage: \d+.\d+% of statements/'
// Package pool provides a sync.Pool equivalent that buckets incoming // Package pool provides a sync.Pool equivalent that buckets incoming
// requests to one of 32 sub-pools, one for each power of 2, 0-32. // requests to one of 32 sub-pools, one for each power of 2, 0-32.
// //
// import (pool "github.com/libp2p/go-buffer-pool") // import (pool "gitlab.dms3.io/p2p/go-buffer-pool")
// var p pool.BufferPool // var p pool.BufferPool
// //
// small := make([]byte, 1024) // small := make([]byte, 1024)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment