Skip to content
View Cerebrovinny's full-sized avatar
💭
Simplicity is the ultimate sophistication
💭
Simplicity is the ultimate sophistication
  • Porto, Portugal

Sponsoring

@cloudposse

Block or report Cerebrovinny

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
Cerebrovinny/README.md
package main

import (
	"fmt"
	"sync"
)

type Person struct {
	Name          string
	Bio           string
	GithubProfile string
	TechStack     []string
}

func main() {
	var wg sync.WaitGroup
	nameCh := make(chan string)
	bioCh := make(chan string)
	githubCh := make(chan string)
	techStackCh := make(chan []string)

	// Fetch name
	wg.Add(1)
	go func() {
		defer wg.Done()
		nameCh <- "Vinny"
	}()

	// Fetch bio
	wg.Add(1)
	go func() {
		defer wg.Done()
		bioCh <- "Software Developer and Tech Enthusiast"
	}()

	// Fetch GitHub profile link
	wg.Add(1)
	go func() {
		defer wg.Done()
		githubCh <- "https://github.com/Cerebrovinny"
	}()

	// Fetch technology stack
	wg.Add(1)
	go func() {
		defer wg.Done()
		techStackCh <- []string{"Golang", "TypeScript", "Django", "JavaScript", "NestJS", "Python", "Spring", "AWS", "Docker", "Kafka", "React", "Next.js", "OpenTelemetry", "Playwright", "C++"}
	}()

	// Create a Person instance
	me := Person{
		Name:          <-nameCh,
		Bio:           <-bioCh,
		GithubProfile: <-githubCh,
		TechStack:     <-techStackCh,
	}

	// Wait for all goroutines to finish
	wg.Wait()

	// Printing the details
	fmt.Println("Profile Information:")
	fmt.Printf("Name: %s\n", me.Name)
	fmt.Printf("Bio: %s\n", me.Bio)
	fmt.Printf("GitHub Profile: %s\n", me.GithubProfile)
	fmt.Println("Tech Stack:", me.TechStack)
}

never gonna

Popular repositories Loading

  1. portfolio_viniciuscardoso portfolio_viniciuscardoso Public

    Portfolio with NextJS

    TypeScript 1

  2. gitignore gitignore Public

    Forked from github/gitignore

    A collection of useful .gitignore templates

  3. Git-Commands Git-Commands Public

    Forked from joshnh/Git-Commands

    A list of commonly used Git commands

  4. responsiveportfolio responsiveportfolio Public

    Responsive portfolio with React

    HTML

  5. project_api_with_express project_api_with_express Public

    Api Postman build with express

    JavaScript

  6. react-native-responsive-fontSize react-native-responsive-fontSize Public

    Forked from heyman333/react-native-responsive-fontSize

    🔠 Responsive fontSize based on screen-size of the device in React-Native

    JavaScript