Skip to content

How to build on Windows; how to get contents of a file from <input type="file"> as a []byte? #776

Closed
@inkeliz

Description

@inkeliz
src/syscall/syscall_nonlinux.go:5:18: undeclared name: SYS_EXIT
/src/syscall/syscall.go:53:39: too few arguments in call to Syscall

I'm using Windows and go1.10. I'm trying to build (gopherjs build) this code:

package main
//go:generate gopherjs build main.go -o js/app.js -m
// +build ignore

import (
  "log"
)

func main() {
    log.Println("Hello World")
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions