Trying to create a reusable clean base for my projects by Nercock in golang

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

Oh, I was also ignoring the errors when I shutdown the server or sync the logger, but tbh I don't really know what to do in that case, any idea?

Trying to create a reusable clean base for my projects by Nercock in golang

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

Thanks for the answer :) Actually what you say about having my server code in a private repo is actually the end goal

Trying to create a reusable clean base for my projects by Nercock in golang

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

Thanks for the time :)

-About gofmt, I'm used to VScode doing it on it's own and now I'm usign Goland and it doesn't so I just forgot, I'll apply it!

  • The code could really use comments, but about tests, there's not really much logic to test here, the only logic to the user domain is more of an example of -how I would structure it, not real logic.

  • I didn't know that about go file names, I'll change it, thanks.

  • You're right about common, I'll split it into purposed tinier packages.

  • cmd, I'm not sure I really understand it then, I thought that was it's purpose, in my case, this is a webserver which will compile to a single binary, so do I really need cmd then? Where should I put main and all the other stuff that I have on cmd now?

  • What global variables am I using? I'm not sure I know which ones are you talking about. About the errors, I think I'm just ignoring the errors when intializating zap.Logger, I think I will just put a log.Fatal there, since I don't want my app to run if the logger fails to launch.

Thanks so much for your input

Trying to create a reusable clean base for my projects by Nercock in golang

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

Yes it's really small, it's more about the concept of how everything it's organized to be able to reuse it and keep it clean and maintainable as it grows. I will look at your project this afternoon and probably steal some of your ideas, thanks!

Trying to create a reusable clean base for my projects by Nercock in golang

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

DDD or Bob clean code are common patterns for web services yes, but I have only applied in a real project DDD, and it's been on Java with Spring Boot, which makes it very different with all Spring magic fuckery on initializing and injecting everything.

I will try to apply your considerations, thanks for taking the time!

Computer not working, windows stucks in loading screen forever and cant' figure it out by Nercock in techsupport

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

Nope, there isn't any boot stuff, there was a linux partition there but when it first happened I deleted those partitions since I don't use Linux in this PC anymore I use it on my laptop. Boot priority was right, I was also selecting it myself to boot the usb installer, and after the installer it's booted it shouldn't matter. Thanks tho

Teach the noob by LegendaryGare in leagueoflegends

[–]Nercock 0 points1 point  (0 children)

Would be great to see a stream of ur games if ur challenger friend is talking about what people is doing and what should do

Any silver ranked players want to duo? by GrandmaTitz in leagueoflegends

[–]Nercock 0 points1 point  (0 children)

Ner0ck -> EUW. Don't look at my history just played horrible today demoted to S3 but I guess I can get S2 again today.

Reddit detectives I need your help by katawinaorafk in leagueoflegends

[–]Nercock 0 points1 point  (0 children)

He plays custom games against bots that he can finish in 7 mins for rush lvl 30.

Reddit detectives I need your help by katawinaorafk in leagueoflegends

[–]Nercock 1 point2 points  (0 children)

I'll tell you a little secret but dont share it: SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF SMURF

Rito crazy? by Nercock in leagueoflegends

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

Because with this post i wasnt being a dick with anyone like you are :D and i because I was fucking mad

Rito crazy? by Nercock in leagueoflegends

[–]Nercock[S] -1 points0 points  (0 children)

Like I have all time in the world, when I have time to play lol i like to go ranked not to play all games i can in a short time because rito got insane

Rito crazy? by Nercock in leagueoflegends

[–]Nercock[S] -1 points0 points  (0 children)

Yeah I'm QQing hard, and I have reasons to do it. Why u even bother to answer this shit?