Categorygithub.com/mbetel/core
module
0.0.0-20250123075806-8eab22a6f65e
Repository: https://github.com/mbetel/core.git
Documentation: pkg.go.dev

# README

Blue Jay - Core

Go Report Card GoDoc Coverage Status

Core packages available to Blueprint and Jay as well as other applications.

Documentation available here: https://blue-jay.github.io/

Blue Jay is a web toolkit for Go. It's a collection of command-line tools and a web blueprint that allows you to easily structure your web application. There is no rigid framework to which you have to conform.

There are a few components:

  • Blueprint is a model-view-controller (MVC) style web skeleton.

  • Jay is a command-line tool with modules for find/replace, database migrations, code generation, and env.json.

  • Core is a collection of packages available to Blueprint and Jay as well as other applications.

Check the milestones for project status.

Code Coverage

asset			96%
email			100%
env				91%
file			100%
find			89%
flash			100%
form			73%
generate		88%
jsonconfig		100%
passhash		75%
replace			--
router			100%
server			16%
session			100%
storage			--
uuid			80%
view			94%
xsrf			100%

# Packages

Package asset contains FuncMap for template packages to provide asset paths with timestamps.
Package email provides email sending via SMTP.
Package env creates and updates the env.json file.
Package file provides helpful filesystem functions.
Package find will search for matched case-sensitive strings in files.
Package flash provides one-time messages for the user.
Package form provides form validation, repopulation for controllers and a funcmap for the html/template package.
Package generate will parse and create files from template pairs.
Package jsonconfig handles loading a JSON file into a struct.
Package pagination assists with navigating between pages of results.
Package passhash provides password hashing functionality using bcrypt.
Package replace will search for matched case-sensitive strings in files and then replace them with a different string.
Package router combines routing and middleware handling in a single package.
Package server is a wrapper around the net/http package that starts listeners for HTTP and HTTPS.
Package session provides a wrapper for gorilla/sessions package.
No description provided by the author
Package storage loads the configuration file with only storage information.
Package uuid generates unique identifiers.
Package view provides thread-safe caching of HTML templates.
Package xsrf is a container for the gorilla csrf package.