1 2 3 4 5 6 7 8 9 10 11
// Package pty provides functions for working with Unix terminals. package pty import ( "os" ) // Opens a pty and its corresponding tty. func Open() (pty, tty *os.File, err error) { return open() }