Documentation

Overview

    Copyright 2015 Gabriel Guzman <gabe@lifewaza.com> All rights reserved. Use of this source code is governed by the ISC license that can be found in the LICENSE file.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    func Execute

    func Execute()

      Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

      Types

      type Config

      type Config struct {
      	User struct {
      		Name  string
      		Email string
      	}
      	Post struct {
      		Root string
      	}
      	Twitter struct {
      		ConsumerKey       string
      		ConsumerSecret    string
      		AccessToken       string
      		AccessTokenSecret string
      	}
      	File struct {
      		Root string
      	}
      }

      type Draft

      type Draft struct {
      	// contains filtered or unexported fields
      }