Skip to content

Commit

Permalink
rename module name from netaddr to go-netaddr
Browse files Browse the repository at this point in the history
  • Loading branch information
xgfone committed Apr 1, 2023
1 parent b406aee commit d3b0ef0
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 8 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ env:
GOPATH: /home/runner/go # For go 1.7
jobs:
build:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
name: Go ${{ matrix.go }}
strategy:
matrix:
Expand All @@ -21,10 +21,13 @@ jobs:
- '1.15'
- '1.16'
- '1.17'
- '1.18'
- '1.19'
- '1.20'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- run: go test -race
- run: go test -race -cover
13 changes: 12 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,19 @@ _testmain.go
# test
test_*

# log
*.log

vendor/

# VS Code
.vscode/
debug
debug_test

# Mac
.DS_Store

# Unix hidden files
# hidden files
.*
_*
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# netaddr [![Build Status](https://github.com/xgfone/netaddr/actions/workflows/go.yml/badge.svg)](https://github.com/xgfone/netaddr/actions/workflows/go.yml) [![GoDoc](https://pkg.go.dev/badge/github.com/xgfone/netaddr)](https://pkg.go.dev/github.com/xgfone/netaddr) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg?style=flat-square)](https://raw.githubusercontent.com/xgfone/netaddr/master/LICENSE)
# netaddr [![Build Status](https://github.com/xgfone/go-netaddr/actions/workflows/go.yml/badge.svg)](https://github.com/xgfone/go-netaddr/actions/workflows/go.yml) [![GoDoc](https://pkg.go.dev/badge/github.com/xgfone/go-netaddr)](https://pkg.go.dev/github.com/xgfone/go-netaddr) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg?style=flat-square)](https://raw.githubusercontent.com/xgfone/go-netaddr/master/LICENSE)

This is a Go implemenation supporting `Go1.7+` of `IPAddress` and `IPNetwork` in the Python package [`netaddr`](https://pypi.org/project/netaddr/). See [godoc](https://pkg.go.dev/github.com/xgfone/netaddr).
This is a Go implemenation supporting `Go1.7+` of `IPAddress` and `IPNetwork` in the Python package [`netaddr`](https://pypi.org/project/netaddr/). See [godoc](https://pkg.go.dev/github.com/xgfone/go-netaddr).

## Usage

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/xgfone/netaddr
module github.com/xgfone/go-netaddr

go 1.11

0 comments on commit d3b0ef0

Please sign in to comment.