utils

package
v0.0.0-...-b40f386 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2014 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendArticleFile

func AppendArticleFile(files []string, file string) []string

AppendFile appends the file.

func StringSliceHas

func StringSliceHas(s []string, target string) bool

StringSliceHas checks s has target string.

func UpdatedArticleFiles

func UpdatedArticleFiles(hook *gogithub.Hook) []string

UpdatedFiles returns added, removed or modifed files of the hook.

func YamlUnmarshal

func YamlUnmarshal(path string, out interface{}) error

YamlUnmarshal parses a yaml file and set the result to the out interface.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL