Skip to content

Commit

Permalink
update codegen
Browse files Browse the repository at this point in the history
Signed-off-by: cpanato <[email protected]>
  • Loading branch information
cpanato committed Oct 9, 2024
1 parent 379afaa commit cfc1ba0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ the
run:

```text
$ go get -u github.com/hashicorp/go-sockaddr/cmd/sockaddr
$ go install github.com/hashicorp/go-sockaddr/cmd/sockaddr@latest
```

If you're familiar with UNIX's `sockaddr` struct's, the following diagram
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
//go:build android

package sockaddr

import (
"errors"
"os/exec"
)

type routeInfo struct {
cmds map[string][]string
}

// NewRouteInfo returns a Android-specific implementation of the RouteInfo
// interface.
func NewRouteInfo() (routeInfo, error) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build android || nacl || plan9 || js
// +build android nacl plan9 js
//go:build nacl || plan9 || js
// +build nacl plan9 js

package sockaddr

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build solaris

package sockaddr

import (
Expand Down

0 comments on commit cfc1ba0

Please sign in to comment.