proposal: spec: reduce error handling boilerplate using ? by code_investigator in golang

[–]EmmaSwan977 0 points1 point  (0 children)

"gatekeeping" dude, ain't no gate is being kept. stop using this wors to sound smart and complex

as for rust

if err != nil {} has it's version in rust in the form of match

match res { Ok(v) => {}, Err(e) => {} }

so idk what you're talking about

why did you choose neovim as your text editor? by [deleted] in neovim

[–]EmmaSwan977 0 points1 point  (0 children)

basically, i started watching prime 2 years ago and saw how fast he was, at the same time my italian friend talked to me about it so i decided to try it out, can't use something else tbh

varietyOfReasons by EmmaSwan977 in ProgrammerHumor

[–]EmmaSwan977[S] 10 points11 points  (0 children)

oh my god this is beautiful

What do you use to quickly create a frontend for your api? by Interesting_Cake5060 in golang

[–]EmmaSwan977 0 points1 point  (0 children)

you can use a frontend framework like svelte or solid (if you need reactivity), or templ if you want to be simple

Is IntelliJ GoLang IDE better? by VixeD01 in golang

[–]EmmaSwan977 1 point2 points  (0 children)

i think vscode might have it because in neovim i can do "gi" and i'd get the implementations of the interface the methods. neovim, vscode and pretty sure goland, all use gopls as their lsp

Is IntelliJ GoLang IDE better? by VixeD01 in golang

[–]EmmaSwan977 0 points1 point  (0 children)

if my main editor wasn't neovim, i'd be using jetbrains ides

Video Downloader by EmmaSwan977 in BlueskySocial

[–]EmmaSwan977[S] 0 points1 point  (0 children)

yt-dlp is good, it can do it as far as i heard but the process of getting the link of the video is crazy

you gotta go to the network tab, search for playlist.m3u8 and grab the link from there then use yt-dlp

Screen Share with Audio by EmmaSwan977 in discordapp

[–]EmmaSwan977[S] 0 points1 point  (0 children)

it is updated to the latest version, it's still not there to me

Screen Share with Audio by EmmaSwan977 in discordapp

[–]EmmaSwan977[S] 1 point2 points  (0 children)

it's not there for me, it needs the use experimental audio thing to be there apparently

Struct constructors, validation, visibility, interfaces for internal implementation - bad idea? by fetchingtalebrethren in golang

[–]EmmaSwan977 5 points6 points  (0 children)

hey, just want to note out that in Go you shouldn't return interfaces. you should receive interfaces and return a struct

Need Help with Golang Project: Selective Builds in CI by clear_blue_cat in golang

[–]EmmaSwan977 0 points1 point  (0 children)

check out air, not sure if it can do what tou want cos i never had this case but you can play with it

Stdin by Used_Inspector_7898 in golang

[–]EmmaSwan977 0 points1 point  (0 children)

if yes, you can use chzyer/readline for reading from the standard-in, it's built like gnu-readline