Windows 10: Cant use a GoLang http server in vs code

Discus and support Cant use a GoLang http server in vs code in Windows 10 Software and Apps to solve the problem; When i try to run my http server written in go in vs code, it comes up with the error: main.go:1:1: expected 'package', found 'EOF'. but it works when... Discussion in 'Windows 10 Software and Apps' started by William RobertsLOL, Feb 17, 2024.

  1. Cant use a GoLang http server in vs code


    When i try to run my http server written in go in vs code, it comes up with the error: main.go:1:1: expected 'package', found 'EOF'. but it works when i write it in note pad and do it manuallynot in vs codeor when it was made in vs code Heres the codeCant use a GoLang http server in vs code :package mainimport "net/http"func main { http.ListenAndServe":8080", nil}

    :)
     
    William RobertsLOL, Feb 17, 2024
    #1
  2. newtekie1 Win User

    TPU Minecraft Server

    Done. Thanks for the suggestion!*Toast :toast:
     
    newtekie1, Feb 17, 2024
    #2
  3. Unable to connect to Google servers

    There are cases that web content are blocked due to proxy server settings. We suggest that you remove the check mark on the the proxy server box, follow the steps below:

    • Type Internet Options in the Ask me anything bar.
    • Click on Connections tab.
    • Click on LAN settings.
    • Remove check in Proxy server box.
    Once done, access your Google apps and check if issue persist.

    Send your post to keep us updated on how the steps goes.
     
    Darwin Dim, Feb 17, 2024
    #3
  4. WilliamDz Win User

    Cant use a GoLang http server in vs code

    "This installation not supported by processor type" while installing GoLang

    Hi and thanks for reaching out. My name is William. I'm a Microsoft Windows Certified Professional and Systems Administrator. I'll be happy to help you out today.

    GoLang does not support Snapdragon processor. I believe the issue is with RISC vs RISC-V. For technical data, you can refer to
    Installing Go from source - The Go Programming Language. However, you should check with the GoLang forums
    Go Forum for concise documentation.
     
    WilliamDz, Feb 17, 2024
    #4
Thema:

Cant use a GoLang http server in vs code

Loading...
  1. Cant use a GoLang http server in vs code - Similar Threads - Cant GoLang http

  2. Vs code

    in Windows 10 Software and Apps
    Vs code: When ever I'm typing " on keyboard the editor should output like "cursor" but I am getting " " cursor" and same in the case of ' and ` I'm getting ''cursor' ``cursor` autoclosing overtype is on never too but still....
  3. Cant use a GoLang http server in vs code

    in Windows 10 Network and Sharing
    Cant use a GoLang http server in vs code: When i try to run my http server written in go in vs code, it comes up with the error: main.go:1:1: expected 'package', found 'EOF'. but it works when i write it in note pad and do it manuallynot in vs codeor when it was made in vs code Heres the code:package mainimport...
  4. Cant use a GoLang http server in vs code

    in Windows 10 Gaming
    Cant use a GoLang http server in vs code: When i try to run my http server written in go in vs code, it comes up with the error: main.go:1:1: expected 'package', found 'EOF'. but it works when i write it in note pad and do it manuallynot in vs codeor when it was made in vs code Heres the code:package mainimport...
  5. Vs Code

    in Windows 10 Drivers and Hardware
    Vs Code: I have problem with Vs code inline autocomplete suggestion whenever i create a new c++ file in vs code the inline autocomplete suggestion stops working until restarted the vs code this very annoying I have attached 2 images 1. before restart i have created a new c++ file 2....
  6. Can't use Live Server/debugging in VS Code

    in Windows 10 Gaming
    Can't use Live Server/debugging in VS Code: Stack Overflow Question I asked yesterdayI've been wanting to work on a project on VS Code for a while now but suddenly I'm unable to debug/use a live server on new pages else I get one of a few errors.One of them is "Cannot GET...
  7. Can't use Live Server/debugging in VS Code

    in Windows 10 Software and Apps
    Can't use Live Server/debugging in VS Code: Stack Overflow Question I asked yesterdayI've been wanting to work on a project on VS Code for a while now but suddenly I'm unable to debug/use a live server on new pages else I get one of a few errors.One of them is "Cannot GET...
  8. VS code

    in Windows 10 Gaming
    VS code: how can i fix this? ive already tried solutions from comments from other people who were having the same problem, but it just doesn't work for me. I would really appreciate any help. Im also doing "C" as in the coding language....
  9. VS code

    in Windows 10 Software and Apps
    VS code: how can i fix this? ive already tried solutions from comments from other people who were having the same problem, but it just doesn't work for me. I would really appreciate any help. Im also doing "C" as in the coding language....
  10. Can I use VS Code to code in C ?

    in Windows 10 Software and Apps
    Can I use VS Code to code in C ?: I was wondering if I could use VS Code to program C projects? I don't know much about the language and I thought that I might try to learn a little. I did some research and found a way to compile C code using MSbuild in VS Code. But I was wondering If I could use VS Code to...