---
title: "Yasir Arafat (@Yasir129Arafat) | Hashnode"
description: "Student. Read the latest articles by Yasir Arafat on Hashnode."
url: "https://hashnode.com/@Yasir129Arafat"
---

@Yasir129Arafat

# Yasir Arafat

@Yasir129Arafat · Uttarpradesh,India · Joined October 2023

Student

### [Converting String to int](https://www.yasirarafathashnode.com/converting-string-to-int?utm_source=hashnode&utm_medium=feed)

The Approach Reading Input The code uses bufio.NewReader(os.Stdin) to create a new reader that reads from the standard input stream (terminal). reader.ReadString('\\n') reads input from the user until a newline character (\\n) is encountered. Par...

2 min read · [yasirarafathashnode.com](https://www.yasirarafathashnode.com/converting-string-to-int?utm_source=hashnode&utm_medium=feed)

[Mar 23, 2024](https://hashnode.com/posts/converting-string-to-int/65ff1fbb58114b1ee51f6993)

### [Converting a string variable into Boolean, Integer or Float type in Go language](https://www.yasirarafathashnode.com/converting-a-string-variable-into-boolean-integer-or-float-type-in-go-language?utm_source=hashnode&utm_medium=feed)

Various types of string conversions are needed while performing tasks in Golang. Package strconv is imported to perform conversions to and from string. String to Boolean Conversion ParseBool is used to convert string to boolean value. It accepts 1, t...

3 min read · [yasirarafathashnode.com](https://www.yasirarafathashnode.com/converting-a-string-variable-into-boolean-integer-or-float-type-in-go-language?utm_source=hashnode&utm_medium=feed)

[Mar 22, 2024](https://hashnode.com/posts/converting-a-string-variable-into-boolean-integer-or-float-type-in-go-language/65fdce39e6e7364a737b2e82)

### [Type Casting or Type Conversion in Go language](https://www.yasirarafathashnode.com/type-casting-or-type-conversion-in-go-language?utm_source=hashnode&utm_medium=feed)

Type conversion happens when we assign the value of one data type to another. Statically typed languages like C/C++, Java, provide the support for Implicit Type Conversion but Golang is different, as it doesn’t support the Automatic Type Conversion o...

2 min read · [yasirarafathashnode.com](https://www.yasirarafathashnode.com/type-casting-or-type-conversion-in-go-language?utm_source=hashnode&utm_medium=feed)

[Mar 22, 2024](https://hashnode.com/posts/type-casting-or-type-conversion-in-go-language/65fd4a81d1796bdc43230a4a)

### [User Input in Go language](https://www.yasirarafathashnode.com/user-input-in-go-language?utm_source=hashnode&utm_medium=feed)

In order to take user input in Go language we need to create a reader variable using some inbuilt modules of Go package main import ( "bufio" "fmt" "os" ) func main() { fmt.Println("hi there") reader := bufio.NewReader(os.Stdin)...

2 min read · [yasirarafathashnode.com](https://www.yasirarafathashnode.com/user-input-in-go-language?utm_source=hashnode&utm_medium=feed)

[Mar 20, 2024](https://hashnode.com/posts/user-input-in-go-language/65fb2c09ae51bce881181a72)

### [Data Types and their spaces](https://www.yasirarafathashnode.com/data-types-and-their-spaces?utm_source=hashnode&utm_medium=feed)

In the Go programming language, data types refer to an extensive system used for declaring variables or functions of different types. The type of a variable determines how much space it occupies in storage and how the bit pattern stored is interprete...

3 min read · [yasirarafathashnode.com](https://www.yasirarafathashnode.com/data-types-and-their-spaces?utm_source=hashnode&utm_medium=feed)

[Mar 19, 2024](https://hashnode.com/posts/data-types-and-their-spaces/65f9db7e4cf6e9bc5c299fd3)
