package
0.0.8
Repository: https://github.com/bhojpur/web.git
Documentation: pkg.go.dev

# Functions

askForConfirmation uses Scanln to parse user input.
BhojpurWebFuncMap returns a FuncMap of functions used in different templates.
No description provided by the author
get info of Bhojpur Web releases.
get info of Bhojpur Web repos.
camelCase converts a _ delimited string to camel case e.g.
No description provided by the author
No description provided by the author
CloseFile attempts to close the passed file or panics with the actual error.
EndLine returns the a newline escape character.
__FILE__ returns the file name in which the function was invoked.
formatSourceCode formats source files.
No description provided by the author
GetFileModTime returns unix timestamp of `os.File.ModTime` for the given path.
GetGOPATHs returns all paths in GOPATH variable.
No description provided by the author
No description provided by the author
Go is a basic promise implementation: it wraps calls a function in a goroutine and returns a channel which will later return the function's return value.
GoCommand executes the passed command using Go tool.
IsBhojpurProject checks whether the current path is a Bhojpur Web application or not.
IsExist returns whether a file or directory exists.
No description provided by the author
IsInGOPATH checks whether the path is inside of any GOPATH or not.
__LINE__ returns the line number at which the function was invoked.
No description provided by the author
MustCheck panics when the error is not nil.
No description provided by the author
No description provided by the author
No description provided by the author
SearchGOPATHs searchs the user GOPATH(s) for the specified application name.
snake string, XxYy to xx_yy.
SplitQuotedFields is like strings.Fields but ignores spaces inside areas surrounded by single quotes.
No description provided by the author
TmplToString parses a text template and return the result as a string.
TODO merge UpdateLastPublishedTime and NoticeUpdateBhojpur.
WriteToFile creates a file and writes content to it.

# Constants

No description provided by the author

# Structs

No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
The string flag list, implemented flag.Value interface.