loader

package
v0.0.0-...-169bdd1 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: GPL-2.0 Imports: 16 Imported by: 0

Documentation

Overview

package loader concentrates all code loading stuff, however all you should call is LoadCode(). --

Copyright (C) 2020 by Rafael Santiago

Use of this source code is governed by GPL-v2 license that can be found in the COPYING file.

package loader concentrates all code loading stuff, however all you should call is LoadCode(). --

Copyright (C) 2020 by Rafael Santiago

Use of this source code is governed by GPL-v2 license that can be found in the COPYING file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadCode

func LoadCode(codestat *ruler.CodeStat, srcpath string, exts ...string) error

This function expects as srcpath a file, directory or git-repo uri. At the end of a successful execution codestat will gather all relevant files info. The relevance a code file is given by exts... where you pass all relevant file extensions, including the dot symbol or not.

Types

This section is empty.

Jump to

Keyboard shortcuts

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