Commit 61c2807d authored by tavit ohanian's avatar tavit ohanian

initial port

parent 6a9148fa
Pipeline #494 passed with stages
in 7 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/'
module github.com/libp2p/go-sockaddr module gitlab.dms3.io/p2p/go-sockaddr
require golang.org/x/sys v0.0.0-20190228124157-a34e9553db1e require golang.org/x/sys v0.0.0-20190228124157-a34e9553db1e
......
package sockaddr package sockaddr
import ( import (
sockaddrnet "github.com/libp2p/go-sockaddr/net" sockaddrnet "gitlab.dms3.io/p2p/go-sockaddr/net"
) )
// Socklen is a type for the length of a sockaddr. // Socklen is a type for the length of a sockaddr.
......
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