Conversions in golang

  Рет қаралды 57,628

Hitesh Choudhary

Hitesh Choudhary

Күн бұрын

Пікірлер: 52
@0xk4pil
@0xk4pil Жыл бұрын
As an penetration testing enthusiast, golang pulls my attention alot, and your videos are perfectly helping me learn it :) Thanks!
@VictorKun
@VictorKun 2 жыл бұрын
All the errors are so similar to C, C++ The places when you use get() and gets() to remove storing the delim char from the buffer into the variable It's incredibly similar and you explain it so easily @Hitesh Choudhary
@SaiNehatha48
@SaiNehatha48 9 ай бұрын
Thank you so much Hitesh . I love watching your videos and made great practice too.
@severgun
@severgun 5 ай бұрын
You don't need to add trailing space in Println. Strings already concatinated by space. In your example you have double space printed out
@Amitmund
@Amitmund 3 жыл бұрын
Thank you for this playlist. Will you be able to share your example code git link?
@nayyershahzad8051
@nayyershahzad8051 2 жыл бұрын
beautifully explained! Hats off to the great teacher!!!
@prasannakumar7035
@prasannakumar7035 3 жыл бұрын
Enjoyed a lot sir and learned good way of writing code as well .
@hemanthchowdaryd
@hemanthchowdaryd 3 жыл бұрын
what is difference between fmt.scanf and bufferio reader?
@yadhukrishna9839
@yadhukrishna9839 Жыл бұрын
if you want to read formatted input with a specific structure, fmt.Scanf can be useful. However, if you need to read lines of text or handle more flexible input scenarios, using bufio.Reader might be a better choice.
@hemanthchowdaryd
@hemanthchowdaryd Жыл бұрын
@@yadhukrishna9839 thank you
@jayranpariya7142
@jayranpariya7142 3 жыл бұрын
Thank you sir best go series
@046shrinivasnarkhede2
@046shrinivasnarkhede2 10 ай бұрын
after entering (strings.Trimspace(input), 64), its showing error " undeclared name: strings compiler (UndeclaredName ) " at a string, can you tell me any fix for that?
@kanagat_zh
@kanagat_zh 2 жыл бұрын
learning Go after Python is sooo difficult 🥲
@KeshavKarki-c2v
@KeshavKarki-c2v 10 ай бұрын
same stuck with python ease
@WEBADDA07
@WEBADDA07 5 ай бұрын
I never learned python 🥲
@kishorimore8526
@kishorimore8526 2 жыл бұрын
good series...where code base is available?(gitlink)
@VijayChintapandu
@VijayChintapandu 8 ай бұрын
strconv.Atoi(strings.TrimSpace(input)) also can work
@MuhammadBilal-gf7ci
@MuhammadBilal-gf7ci 3 жыл бұрын
How can i get your complete course in Golang.
@omjogani
@omjogani 3 жыл бұрын
Thank you for the free series...
@thedevnoteyt
@thedevnoteyt 3 жыл бұрын
You're awesome sir🔥❤️
@dfgyjjjj
@dfgyjjjj 24 күн бұрын
can anyone tell me where to get this sample code s he is using?
@kelechiduru962
@kelechiduru962 Жыл бұрын
Good tutor.
@surendrapandey9653
@surendrapandey9653 2 жыл бұрын
why not use fmt.Scanln()?
@herolivesnu
@herolivesnu 2 жыл бұрын
I am also asking the same question. I think fmt.Scanln() does not give room for handling error if error occurs from the input.
@basicfacts7013
@basicfacts7013 3 жыл бұрын
Anyone here can solve this plz Write a program which takes two strings as input from the user (str1 and str2). This program should print two strings as output (op1 and op2). op1 should contain all the characters which are present in str1 but NOT present in str2. op2 should contain all the characters which are present in str2 but NOT present in str1.
@TechTessellator
@TechTessellator 3 жыл бұрын
This is not stack overflow
@basicfacts7013
@basicfacts7013 3 жыл бұрын
@@TechTessellator buts it is programming channel i guess
@mechtoit6555
@mechtoit6555 2 жыл бұрын
@@basicfacts7013 heyy buddy visit us...i have too much stuff for golang...
@mechtoit6555
@mechtoit6555 2 жыл бұрын
if you got solution.just try to upload here as well
@VictorKun
@VictorKun 2 жыл бұрын
@@basicfacts7013 Spew any logic that gets your work done right? XD go to stack overflow mate
@Avinashkumar-xt4zq
@Avinashkumar-xt4zq 2 жыл бұрын
I think it takes a quite a lot of efforts to write a simple code in this language. We could've done all this in just few lines in c++ but yeah, for handling that error part, we might have needed to write another try catch block.. But yeah, this language is looking like a pain in the ass with so much of syntax here. 😭😭😭
@shivanishreya113
@shivanishreya113 Жыл бұрын
true bullshit syntax
@MukeshKumar-of9zh
@MukeshKumar-of9zh 3 жыл бұрын
Is there any ReadInt or ReadFloat in bufio!?
@TechTessellator
@TechTessellator 3 жыл бұрын
There is no way to read ints or floats directly using bufio. You can, however, use fmt.Scanf() method to scan ints and floats directly from the user. If you have ever used Java, this is very familiar syntax.
@ganesh805
@ganesh805 3 жыл бұрын
Thank you Sir 🔥👍♥️
@pranav_at_yt
@pranav_at_yt 3 жыл бұрын
Plz make a video on open ai code x
@sid5107
@sid5107 3 жыл бұрын
Which os you are using bro?
@neelesh2023
@neelesh2023 3 жыл бұрын
mac os
@singalurikeerthi8009
@singalurikeerthi8009 3 жыл бұрын
Why there is /n beside 4??
@AshutoshShelkeP
@AshutoshShelkeP 2 жыл бұрын
is the character for new line. so when entering number you press enter this character is added to the input.
@AdityaSingh-ql9ke
@AdityaSingh-ql9ke Жыл бұрын
language designers are seriously high while working,
@ujjwalsharma6574
@ujjwalsharma6574 2 жыл бұрын
numRating, err:=strconv.ParseInt(strings.TrimSpace(input),36,64) Enter Your Rating 54 Your rating= 54 Added 1 to Your rating= 185 How am I getting this 158 as an output please tell me??
@souravpakhira
@souravpakhira Жыл бұрын
because you are providing base as 36. You need to provide base as 10 instead of 36.
@shivatapasya1910
@shivatapasya1910 Жыл бұрын
@@souravpakhira why did we mention 64 ?
@AshutoshShelkeP
@AshutoshShelkeP 2 жыл бұрын
I'll stick to python for now.
@IshanKesharwani
@IshanKesharwani 3 жыл бұрын
I saw Conversion and I instantly thought another girl being the victim of LOVE JIHAD and then I the magical word *GO* and the channel name 😂 😂
@easyguidetosuccess
@easyguidetosuccess 3 жыл бұрын
People come here to do programming, so please keep your bullshit to yourself and only comment something helpful.
@nikhilbajaj3797
@nikhilbajaj3797 3 жыл бұрын
🤦🤦🤦
@atharvparlikar8765
@atharvparlikar8765 3 жыл бұрын
OMG golang is soo shitty why do people use this???
@mihirlakhamje9575
@mihirlakhamje9575 9 күн бұрын
why not?
@severgun
@severgun 5 ай бұрын
Teaching people to skip errors is bad
Handling time in golang
11:44
Hitesh Choudhary
Рет қаралды 53 М.
This is your last video about Golang Structs!
15:57
Flo Woelki
Рет қаралды 10 М.
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 71 МЛН
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 17 МЛН
Comma ok syntax and packages in golang
11:41
Hitesh Choudhary
Рет қаралды 69 М.
Go Pointers: When & How To Use Them Efficiently
14:09
Anthony GG
Рет қаралды 88 М.
Variables, types and constants
17:29
Hitesh Choudhary
Рет қаралды 82 М.
Pointers in golang
10:51
Hitesh Choudhary
Рет қаралды 50 М.
Lexer in golang and Types
7:28
Hitesh Choudhary
Рет қаралды 76 М.
This Will Make Everyone Understand Golang Interfaces
21:03
Anthony GG
Рет қаралды 56 М.
This is the BEST Golang Context Package Tutorial
12:18
Melkey
Рет қаралды 15 М.
Memory management in golang
5:36
Hitesh Choudhary
Рет қаралды 56 М.
Advanced Golang: Channels, Context and Interfaces Explained
22:17
Code With Ryan
Рет қаралды 127 М.
The TRUTH About Golang Backend Frameworks
6:31
Melkey
Рет қаралды 133 М.
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 71 МЛН