Giter Club home page Giter Club logo

gbc's Introduction

Linkedin E-mail

Hey you are on my profile GIF

My name is Allan Capistrano, I'm a 22 year old Brazilian student. Currently graduating in Computer Engineering from the State University of Feira de Santana and member of the Laboratory of Distributed Networks and Systems (LARSID).

  • I'm probably watching some anime GIF or coding something. GIF
  • I like to talk about programming, anime, games and sports. GIF

GIF I'm interested in:

  • Docker
  • Game Development
  • Go
  • Java
  • JavaScript / TypeScript / NodeJs
  • Python
  • Rust

GIF GIF GIF

Pls enjoy the game.

gbc's People

Contributors

allancapistrano avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

lucianogb

gbc's Issues

How to add new commitType or config

After the new feature is done, if you added a new commitType, make sure to update gbc.conf and add it to update.go, for example:

// updateCmd represents the update command
var updateCmd = &cobra.Command{
	Use:   "update",
	Short: "Update gbc to the latest version available.",
	Long:  `Update gbc to the latest version available.`,
	Run: func(cmd *cobra.Command, args []string) {
		if !config.IsLatestVersion(GBC_VERSION) {
			option := config.Option{Type: "rebuild", Value: ":eyes:"}
			config.UpdateEmojiSettings("gbc.conf", option, true)

			fmt.Println("It is not the latest version")
		} else {
			fmt.Println("It is the latest version")
		}

	},
}

If you add a new config, also make sure you also update the gbc.conf and add it to update.go, for example:

// updateCmd represents the update command
var updateCmd = &cobra.Command{
	Use:   "update",
	Short: "Update gbc to the latest version available.",
	Long:  `Update gbc to the latest version available.`,
	Run: func(cmd *cobra.Command, args []string) {
		if !config.IsLatestVersion(GBC_VERSION) {
			option := config.Option{Comment: "Testing", Type: "hello", Value: "world"}
			config.AddNewSetting("gbc.conf", option, true)

			fmt.Println("It is not the latest version")
		} else {
			fmt.Println("It is the latest version")
		}

	},
}

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.