Simple file uploads in Golang

  Рет қаралды 687

cdruc

cdruc

Күн бұрын

Пікірлер: 14
@prajwalparashkar9793
@prajwalparashkar9793 Ай бұрын
Wow everything is so simple and intuitive in go. Nice
@nabeelyousafpasha
@nabeelyousafpasha Ай бұрын
Respect from Pakistan 🇵🇰
@nklvjvc
@nklvjvc Ай бұрын
I started learning Go recently and have to say that you are my favorite channel. All videos so far cover important parts that most web apps need in some way. Also, appreciate you doing "extra" like showing how to upload it inside the directory and not just upload the file as you could easily stop the tutorial there but those extras help a lot. Coming from Laravel, it's a bit hard to understand writing all of these just for file upload but hopefully will get there at some point! By the way, how do you like Zed Editor? I find UI very pleasing but I am not able to try it as it's not available on Windows yet.
@cdruc
@cdruc Ай бұрын
I try to show all the hurdles I went through when I first did whatever I'm showing in videos 😂 Coming from Laravel it will be really PAINFUL to learn go - in Laravel everything is so so easy to do! Write a couple lines and BOOM you have a full feature! While in go...ugh, you have to write a lot just to do simple things, but somehow, I love it! (and hate it at the same time) Zed is clean and super super fast! It still has a couple annoyances - for example, I often want o select and duplicate code. VScode and other IDEs duplicate *exactly* you've selected while zed duplicates all the lines - it's a small thing but really annoying! It makes it up with speed though 😂
@nklvjvc
@nklvjvc Ай бұрын
@@cdruc haha laravel spoiled us, but I can relate with loving this approach, it just have that good feeling making something and having to understand it and not just use some facades/helpers that do a lot of work "behind the scene". Go showed me how little I actually know about all of these stuff, but I like how language is "making" me learn it all along the way. I am even refusing to try gin/echo for now 🤣
@cdruc
@cdruc Ай бұрын
​@@nklvjvc "I like how language is "making" me learn it all along the way" this is exactly why I'm doing all my side projects in golang 😂
@selvamp5775
@selvamp5775 Ай бұрын
Nice 🙏
Ай бұрын
that is a great example, but is there like a Storage object that can take care of that? like Storage::disc('aws')->put('file'). It seems very verbose and repetitive. At least at first glance.
@cdruc
@cdruc Ай бұрын
one could reduce the number of lines by consolidating the creating and writing the file into a single function. but in general, yes, golang is much MUCH more verbose than laravel - and that can be both a good and a bad thing depending on how you look at it. right now i very much like being more verbose
@vladyslav.ishchuk
@vladyslav.ishchuk Ай бұрын
Is it Fleet IDE?
@cdruc
@cdruc Ай бұрын
nope, it's zed.dev/
@coder236
@coder236 Ай бұрын
why did go decide to use nil instead of well established null? this is weird.
@cdruc
@cdruc Ай бұрын
seeing how every golang dev writes code I assume it's because they really like short names 😂 you'll get used to it pretty fast though
@coder236
@coder236 Ай бұрын
@@cdruc I haven't started with go yet but looking to switch from php 😅 the con currency stuff has got me interested. Thanks for creating such good tutorials though.
Session-Based Authentication in Golang
23:36
cdruc
Рет қаралды 3,5 М.
Building a Golang Web App using SQLite
16:49
cdruc
Рет қаралды 3,4 М.
amazing#devil #lilith #funny #shorts
00:15
Devil Lilith
Рет қаралды 18 МЛН
ЛУЧШИЙ ФОКУС + секрет! #shorts
00:12
Роман Magic
Рет қаралды 28 МЛН
БУ, ИСПУГАЛСЯ?? #shorts
00:22
Паша Осадчий
Рет қаралды 1,1 МЛН
Always do this when uploading files in Golang
3:54
cdruc
Рет қаралды 430
Effortless Vue.js Forms
9:36
cdruc
Рет қаралды 4,3 М.
How to Build A CLI Todo App in Go
38:15
Coding with Patrik
Рет қаралды 14 М.
Laravel Sanctum 401 Unauthenticated
4:50
cdruc
Рет қаралды 2,5 М.
This Package Makes It SO Much Easier To Write Golang Code
6:18
How To Stream Large Files Over TCP In Golang
17:50
Anthony GG
Рет қаралды 36 М.
Go (Golang) CSV Parser Tutorial
18:25
Golang Cafe
Рет қаралды 4,9 М.
amazing#devil #lilith #funny #shorts
00:15
Devil Lilith
Рет қаралды 18 МЛН