@horryportier Well, it's because they're different types. Imagine if you had created a method on the Foo type, call it String. Even though Bar is also based on an int it hasn't got the method, so how can you assign them?
@derekdamko I'm not sure you do see A in a lot of codebases, what you probably see is something more akin to the following:
if envErr:=godotenv.Load(); envErr!=nil{
log.Fatal("Error loading environment:",envErr
}
@dustineichler@code Firstly take a look at:
https://t.co/3nCmEXXpTb
Then add a snippet similar to below to your config file for vscode:
"workbench.colorCustomizations": {
"tab.inactiveForeground": "#996666"
}
@gep13@RickStrahl@code Single and double click do different things in the @code explorer, have a quick read of the below, and a possible config change that might help.
https://t.co/XRYd0tXki9
@fikradev_tech The definition of the slice has a ',' (comma) missing on the last element.
That won't 'throw an error' as you put it, since the program won't compile in the first place.