摘要: package main import ( "fmt" "io" "os/exec" ) func main() { fmt.Println("vim-go") // pipeReader, pipeWriter := io.Pipe() binPath := "../03-ncpk-nvm/nvm 阅读全文
posted @ 2023-12-16 16:37 jiftle 阅读(49) 评论(0) 推荐(0) 编辑
摘要: https://geek-docs.com/go-tutorials/go-examples/g_io-pipe-function-in-golang-with-examples.html 在Go语言中,io包提供了基本的I/O原语接口,其主要工作是封装这些原语的正在进行的实现。Go语言中的 Pip 阅读全文
posted @ 2023-12-16 12:20 jiftle 阅读(100) 评论(0) 推荐(0) 编辑