Skip to content

A Golang gitignore.io fetching library using fasthttp ๐Ÿƒ

License

Notifications You must be signed in to change notification settings

gofunky/fastgogi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

fastgogi

A Golang gitignore.io fetching library using fasthttp ๐Ÿƒ

Build Status Go Report Card GoDoc Codacy Badge

Example

package main

import "github.com/gofunky/fastgogi"
import "fmt"

func main() {
	myGogi := fastgogi.NewClient()
	
	// Get the list of available types.
	availableTypes, err := myGogi.List()
	if err != nil {
		panic(err)
	}
	fmt.Printf("Available Types:\n%s", availableTypes)
	
	// Get the gitignore template for Go and IntelliJ.
	gitignoreContent, err := myGogi.Get("go", "IntelliJ")
	if err != nil {
		panic(err)
	}
	fmt.Printf("Available Types:\n%s", gitignoreContent)
}

Why is there no cmd version?

Check out this generator: gogigen

About

A Golang gitignore.io fetching library using fasthttp ๐Ÿƒ

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages