mirror of
https://github.com/go-gst/go-gst.git
synced 2025-10-07 08:50:59 +08:00
16 lines
176 B
Go
16 lines
176 B
Go
package main
|
|
|
|
// #include <unistd.h>
|
|
import "C"
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
func main() {
|
|
go func() {
|
|
C.sleep(1000000000)
|
|
fmt.Println("I slept")
|
|
}()
|
|
fmt.Println("Hello world")
|
|
}
|