mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-10 05:53:39 +00:00
all: format code according to Go 1.19 rules
Go 1.19 started reformatting code in a way that makes it more obvious how it will be rendered on pkg.go.dev. It gets it almost right, but not entirely. Therefore, I had to modify some of the comments so that they are formatted correctly.
This commit is contained in:
@@ -14,25 +14,31 @@ func Getpid() int { return int(libc_getpid()) }
|
||||
func Getppid() int { return int(libc_getppid()) }
|
||||
|
||||
// uid_t getuid(void)
|
||||
//
|
||||
//export getuid
|
||||
func libc_getuid() int32
|
||||
|
||||
// gid_t getgid(void)
|
||||
//
|
||||
//export getgid
|
||||
func libc_getgid() int32
|
||||
|
||||
// uid_t geteuid(void)
|
||||
//
|
||||
//export geteuid
|
||||
func libc_geteuid() int32
|
||||
|
||||
// gid_t getegid(void)
|
||||
//
|
||||
//export getegid
|
||||
func libc_getegid() int32
|
||||
|
||||
// gid_t getpid(void)
|
||||
//
|
||||
//export getpid
|
||||
func libc_getpid() int32
|
||||
|
||||
// gid_t getppid(void)
|
||||
//
|
||||
//export getppid
|
||||
func libc_getppid() int32
|
||||
|
||||
Reference in New Issue
Block a user