RRudrainblog.rudra0x01.xyz·May 12, 2022 · 3 min read#03 Variables & ConstantsVariable Variables are for storing data values. In Golang there are available data types for variables are string, int, boolean, and float32. There are 2 ways to declare the variable First way is to declare a variable using the var keyword Second ...00
RRudrainblog.rudra0x01.xyz·May 1, 2022 · 1 min read#02 The Basic Structure of the Go fileA go file has the following parts: Package declaration Import packages main() function Example: package main import "fmt" func main() { fmt.Println("Hello World!") } package keyword defines the package name because every program is a part of t...00
RRudrainblog.rudra0x01.xyz·May 1, 2022 · 1 min readContent security ( CSP )Content Security Policy ( CSP ) CSP is a layer that helps to prevent certain types of attacks including Cross-Site Scripting ( XSS ) and data injection attacks. These types of attacks are used to deface websites and steal data. CSP is designed to be ...00
RRudrainblog.rudra0x01.xyz·May 1, 2022 · 1 min read#01 Introduction to GolangGo language statically typed language, compiled programming language designed at Google. Infrastructure has changed a lot in years with cloud and multi-core processors. As it said the infrastructure is scalable & distributed, and dynamic has more cap...00
RRudrainblog.rudra0x01.xyz·May 1, 2022 · 2 min readStatically Vs Dynamically Typed LanguagesStatically Typed Languages Statically typed language needs to define variable data type before compiling the program Because the compiler doesn’t understand the type of variable value whether it’s string or integer. Example: public class Main { p...00