• Stars
    star
    188
  • Rank 205,563 (Top 5 %)
  • Language
    Go
  • License
    MIT License
  • Created almost 8 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Tree printer module written in GoLang

GoTree

GoTree Language Badge Go Report License Badge Status Badge GoDoc Build Status

Simple Go module to print tree structures in terminal. Heavily inspired by The Tree Command for Linux

The GoTree's goal is to be a simple tool providing a stupidly easy-to-use and fast way to print recursive structures.

Project Status

GoTree is on beta. Pull Requests are welcome

Features

  • Very simple and fast code
  • Intuitive names
  • Easy to extend
  • Uses only native libs
  • STUPIDLY EASY TO USE

Installation

Go Get

$ go get github.com/disiqueira/gotree

Usage

Simple create, populate and print example

package main

import (
    "fmt"

    "github.com/disiqueira/gotree"
)

func main() {
	artist := gotree.New("Pantera")
	album := artist.Add("Far Beyond Driven")
	album.Add("5 minutes Alone")

	fmt.Println(artist.Print())
}

Contributing

Bug Reports & Feature Requests

Please use the issue tracker to report any bugs or file feature requests.

Developing

PRs are welcome. To begin developing, do this:

$ git clone --recursive [email protected]:DiSiqueira/GoTree.git
$ cd GoTree/

Social Coding

  1. Create an issue to discuss about your idea
  2. [Fork it] (https://github.com/DiSiqueira/GoTree/fork)
  3. Create your feature branch (git checkout -b my-new-feature)
  4. Commit your changes (git commit -am 'Add some feature')
  5. Push to the branch (git push origin my-new-feature)
  6. Create a new Pull Request
  7. Profit! โœ…

License

The MIT License (MIT)

Copyright (c) 2013-2018 Diego Siqueira

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

More Repositories

1

Gorganizer

Organize your folders into a beautiful classified folder structure with this perfect tool
Go
343
star
2

TinderOnline

Find out which of your friends are online on Tinder
Go
174
star
3

TumblrDownloader

Download all images from a Tumblr
Python
114
star
4

DSDownload

Program and module for download queue optimization using multi-thread
Python
88
star
5

GoCurrency

Simple currency converter. Insert an amount, what currency to convert from and what currency to convert to.
Go
30
star
6

coronabot

CoronaBot is a simple Slack bot to update users about the virus spread progression periodically.
Go
20
star
7

DSImgur

Easily download images, Albums, Galleries and entire Profiles from Imgur. The most powerful Imgur Downloader!! You can use as program or as module!
Python
18
star
8

TinderGo

GoLang client for tinder api
Go
11
star
9

WebSiteScreenshot

Cli tool to save a screenshot of any website
Go
11
star
10

AllFood

AllFood's the perfect tool to search all Nearby restaurants based on a latitude and longitude.
Go
7
star
11

InstagramStoriesDownloader

Small software to keep watching and download all stories in your account
Go
5
star
12

BrazilianFootball

Display data about Brazilian football games that will occur in the next few days
Go
5
star
13

HttpHealth

HttpHealth (HH) checks if http servers are "healthy" and available to do work.
Go
5
star
14

UltraSlackBot

Go
5
star
15

devtalks

Exemplo mostrado no DevTalks
Go
3
star
16

YodaMovies

Get a random famous quote from a random movie and turn it to Yoad speak style.
Go
3
star
17

DSFacebookVideo

Easily download videos from Facebook. You can use as program or as module!
Python
2
star
18

uebersicht-wiki-holidays.widget

An Ubersicht widget which show holidays information
CoffeeScript
2
star
19

FoodTracker2

Swift getting started xCode 7 beta 6
Swift
1
star
20

RedditToSlack

Watch a subreddit and post in a Slack channel when a new post is found.
Go
1
star
21

TinderFinder

Find your Tinder Matches
1
star
22

ci_workshop

Go
1
star
23

FreeWorkflow

1
star
24

RedditAds

A little bot to advertising in reddit written in GoLang
Go
1
star
25

ItiOS

OS Matcher for Itinerary Router
Go
1
star
26

InstagramDownloader

Download all content made by everyone that you follows on Instagram
Go
1
star
27

RODB---Republic-Of-DataBases

RODB create a CRUD system based on a database
1
star
28

DSms

Envie um SMS para seu amigo que utiliza a operadora VIVO
Python
1
star
29

CryptoPunks

Simple script to scrape CryptoPunks data
Go
1
star
30

MySlackBot

It is like any other Slack Bot but this one is mine.
Go
1
star
31

DSMaterialDesign

Example of how to use Material Design in Xamarin Forms
C#
1
star
32

Itinerary

The simplest router made to GoLang
Go
1
star
33

PoContext

Go
1
star
34

ld

LazyDebug is a quick tool to help debugging Go code, inspired by Python q
1
star