Skip to content

Commit

Permalink
fix package path
Browse files Browse the repository at this point in the history
  • Loading branch information
gi8lino committed Dec 18, 2024
1 parent 502edf4 commit 96a474f
Show file tree
Hide file tree
Showing 23 changed files with 23 additions and 358 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
coverage.out
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
Install the package using:

```bash
go get github.com/containeroo/portpatrol/pkg/dynflags
go get github.com/containeroo/dynflags
```

## Usage
Expand All @@ -26,7 +26,7 @@ It supports parsing flags with a structure like `--group.identifier.flag=value`
For POSIX/GNU-style `--flags` use the library [pflag](https://github.com/spf13/pflag). `dynflags` can be used together with `pflag`.

```go
import "github.com/containeroo/portpatrol/pkg/dynflags"
import "github.com/containeroo/dynflags"
```

Create a new `DynFlags` instance:
Expand Down
2 changes: 1 addition & 1 deletion bool_slice_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package dynflags_test
import (
"testing"

"github.com/containeroo/portpatrol/pkg/dynflags"
"github.com/containeroo/dynflags"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion bool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package dynflags_test
import (
"testing"

"github.com/containeroo/portpatrol/pkg/dynflags"
"github.com/containeroo/dynflags"
"github.com/stretchr/testify/assert"
)

Expand Down
336 changes: 0 additions & 336 deletions coverage.out

This file was deleted.

2 changes: 1 addition & 1 deletion defaults_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"bytes"
"testing"

"github.com/containeroo/portpatrol/pkg/dynflags"
"github.com/containeroo/dynflags"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion duration_slice_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"
"time"

"github.com/containeroo/portpatrol/pkg/dynflags"
"github.com/containeroo/dynflags"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion duration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"
"time"

"github.com/containeroo/portpatrol/pkg/dynflags"
"github.com/containeroo/dynflags"

"github.com/stretchr/testify/assert"
)
Expand Down
2 changes: 1 addition & 1 deletion dynflags_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"bytes"
"testing"

"github.com/containeroo/portpatrol/pkg/dynflags"
"github.com/containeroo/dynflags"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion flag_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package dynflags_test
import (
"testing"

"github.com/containeroo/portpatrol/pkg/dynflags"
"github.com/containeroo/dynflags"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion flags_config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package dynflags_test
import (
"testing"

"github.com/containeroo/portpatrol/pkg/dynflags"
"github.com/containeroo/dynflags"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion flags_parsed_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package dynflags_test
import (
"testing"

"github.com/containeroo/portpatrol/pkg/dynflags"
"github.com/containeroo/dynflags"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion float64_slice_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package dynflags_test
import (
"testing"

"github.com/containeroo/portpatrol/pkg/dynflags"
"github.com/containeroo/dynflags"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion float64_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package dynflags_test
import (
"testing"

"github.com/containeroo/portpatrol/pkg/dynflags"
"github.com/containeroo/dynflags"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion int_slice_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package dynflags_test
import (
"testing"

"github.com/containeroo/portpatrol/pkg/dynflags"
"github.com/containeroo/dynflags"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion int_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package dynflags_test
import (
"testing"

"github.com/containeroo/portpatrol/pkg/dynflags"
"github.com/containeroo/dynflags"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion ip_slice_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"net"
"testing"

"github.com/containeroo/portpatrol/pkg/dynflags"
"github.com/containeroo/dynflags"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion ip_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"net"
"testing"

"github.com/containeroo/portpatrol/pkg/dynflags"
"github.com/containeroo/dynflags"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"
"time"

"github.com/containeroo/portpatrol/pkg/dynflags"
"github.com/containeroo/dynflags"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion string_slice_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package dynflags_test
import (
"testing"

"github.com/containeroo/portpatrol/pkg/dynflags"
"github.com/containeroo/dynflags"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion string_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package dynflags_test
import (
"testing"

"github.com/containeroo/portpatrol/pkg/dynflags"
"github.com/containeroo/dynflags"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion url_slice_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"net/url"
"testing"

"github.com/containeroo/portpatrol/pkg/dynflags"
"github.com/containeroo/dynflags"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion url_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"net/url"
"testing"

"github.com/containeroo/portpatrol/pkg/dynflags"
"github.com/containeroo/dynflags"
"github.com/stretchr/testify/assert"
)

Expand Down

0 comments on commit 96a474f

Please sign in to comment.