update goctl to go 1.16 for io/fs usage (#1571)
* update goctl to go 1.16 for io/fs usage * feat: support pg serial type for auto_increment (#1563) * add correct example for pg's url * 🐞 fix: merge * 🐞 fix: pg default port * ✨ feat: support serial type Co-authored-by: kurimi1 <d0n41df@gmail.com> * chore: format code Co-authored-by: toutou_o <33993460+kurimi1@users.noreply.github.com> Co-authored-by: kurimi1 <d0n41df@gmail.com>
This commit is contained in:
2
tools/goctl/pkg/env/env.go
vendored
2
tools/goctl/pkg/env/env.go
vendored
@@ -143,5 +143,5 @@ func WriteEnv(kv []string) error {
|
||||
return err
|
||||
}
|
||||
envFile := filepath.Join(defaultGoctlHome, envFileDir)
|
||||
return ioutil.WriteFile(envFile, []byte(strings.Join(goctlEnv.Format(), "\n")), 0777)
|
||||
return ioutil.WriteFile(envFile, []byte(strings.Join(goctlEnv.Format(), "\n")), 0o777)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user