Skip to content

Commit 9f3aec5

Browse files
committed
refactor
1 parent 5f895c3 commit 9f3aec5

File tree

9 files changed

+7
-3
lines changed

9 files changed

+7
-3
lines changed

v1/examples/default_value.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package main
22

33
import (
44
"fmt"
5-
if_expression "github.com/golang-infrastructure/go-if-expression/v1"
5+
"github.com/golang-infrastructure/go-if-expression/v1/if_expression"
66
)
77

88
func main() {

v1/go.mod

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
module github.com/golang-infrastructure/go-if-expression/v1
22

3-
go 1.18
3+
go 1.17
4+
5+
require golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e
File renamed without changes.
File renamed without changes.
File renamed without changes.

v2/example/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package main
22

33
import (
44
"fmt"
5-
if_expression "github.com/golang-infrastructure/go-if-expression/v2"
5+
"github.com/golang-infrastructure/go-if-expression/v2/if_expression"
66
)
77

88
func main() {

v2/go.mod

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
module github.com/golang-infrastructure/go-if-expression/v2
22

33
go 1.18
4+
5+
require golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)