Well that is a relief that I simply misread it.
Thanks,
Graham
On Saturday, September 2, 2023 at 5:14:13 PM UTC+1 Björn Graf wrote:
Hi,
Naming is hard, esp. in MS land: VS Code is not VS for Mac (the full IDE)
and the link mentions that VS Code will replace VS for Mac. So, luckily
there is no
The announcement says they're retiring Visual Studio for Mac, not Visual
Studio Code.
On Saturday, September 2, 2023 at 10:37:01 AM UTC-5 gbarr wrote:
> Recently MicroSoft announced the retirement of VS Code on Mac (see
> https://devblogs.microsoft.com/visualstudio/visual-studio-for-mac-retirem
Hi,
Naming is hard, esp. in MS land: VS Code is not VS for Mac (the full IDE) and
the link mentions that VS Code will replace VS for Mac. So, luckily there is no
need to find a replacement for VS Code :)
Tschüss,
Björn
From: golang-nuts@googlegroups.com on beha
Recently MicroSoft announced the retirement of VS Code on Mac (see
https://devblogs.microsoft.com/visualstudio/visual-studio-for-mac-retirement-announcement/
)
VS Code was popular with developers at my last employer and now retired I
have used it for personal projects.
I am a career long use
Firstly, there must be no space between "//" and "go:embed". Otherwise it's
just treated as a regular comment, and you get an empty fs with no error.
(Perhaps "go vet" could be enhanced to catch this?)
After fixing this, you'll see the underlying error:
main.go:10:12: pattern public: no matchin
I have the following go code where I try to embed a html file from a public
directory and running into HTTP 404. What am I doing wrong ? Relevant code
snippet:
// go:embed public
var public embed.FS
func main() {
// cd to the public directory
publicFS, err := fs.Sub(public, "public")