Gibheer
6ea4d2c82d
lib/pq is out of maintenance for some time now, so switch to the newer more active library. Looks like it finally stabilized after a long time.
22 lines
373 B
Go
22 lines
373 B
Go
// Copyright 2015 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
//go:build go1.5
|
|
|
|
package plan9
|
|
|
|
import "syscall"
|
|
|
|
func fixwd() {
|
|
syscall.Fixwd()
|
|
}
|
|
|
|
func Getwd() (wd string, err error) {
|
|
return syscall.Getwd()
|
|
}
|
|
|
|
func Chdir(path string) error {
|
|
return syscall.Chdir(path)
|
|
}
|