Giter Site home page Giter Site logo

json-go's Introduction

Hello, amazing people!

About Me

 package main

import "fmt"

type SoftwareEngineer struct {
	Name    string
	Role    string
	Work    string
	Country string
	Hobbies []string
}

func (se SoftwareEngineer) Hello() {
	fmt.Println("Hello there, thanks for the visit, hope you find my profile useful!!")
}

func main() {
	me := SoftwareEngineer{
		Name:    "Samit Ghimire",
		Role:    "Lead Engineer",
		Work:    "CloudFactory",
		Country: "Nepal",
		Hobbies: []string{"Photography", "Biking"},
	}
	me.Hello()
}

Certification

Google Cloud Professional Developer

Tech Stacks

📋 Language/Framework

Golang ¤ Rails ¤ Nodejs ¤ React ¤ Python


AWS

Amazon DynamoDB ¤ AWS Lambda ¤ Amazon API Gateway ¤ Amazon EC2 ¤ Amazon ECS ¤ Amazon RDS


💾 Database

MongoDB ¤ Postgres ¤ Redis ¤ ElasticSearch¤ My SQL


Devops

Docker¤ Kubernetes ¤ Helm¤ Github Action


Others

Git ¤ Jira ¤ Power BI



Projects

Blog Posts

My Streak

GitHub Streak

json-go's People

Contributors

samit22 avatar vhndaree avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

json-go's Issues

Add unit tests

Unit tests is missing for a lot of methods, add test.

Better alignment of the structs

The structs currently does not have a correct alignment
Example

 type AutoStruct struct {
	Nested struct {
		Name  string      `json:"name"`
		Phone interface{} `json:"phone"`
	} `json:"nested"`
	Name      string  `json:"name"`
	FirstName string  `json:"first_name"`
	Age       float64 `json:"age"`
}

Generally, the struct would look like

type Case struct {
   ID           primitive.ObjectID `bson:"_id,omitempty"`
   Country      string             `bson:"country"`
   Provice      int                `bson:"province"`
   District     int                `bson:"district"`
   Municipality int                `bson:"municipality"`
   Modified     string             `bson:"modified_on"`
}

Copy generated struct to clipboard

Instead of only printing auto generated struct in the console, we can add copy to clipboard functionality so that users can generate the struct and paste it where ever they want without copying it manually.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.