Giter Club home page Giter Club logo

fiber-pongo2-pkger's Introduction

fiber-pongo2-pkger:

Template-project with fiber and pongo2 as template + pkger to package static assets.

Usage?

  • Clone it
  • Update the internal/config.go file with your structured configuration
  • Register your routes inside pkg/app/registerroutes.go
  • Ready to use

Packaging:

This template-project uses pkger to package html-templates (pongo2) and static files like js, css etc.

Swagger specs

You can generate and serve swagger (OAP-2) specs and serve it on swagger end point.

Build and run:

make build_linux_only && ./build/fiber-pongo2-pkger

Test it by navigating to

Using Makefile

$ make

help                 Show available options with this Makefile
test                 Run all the tests
clean                Clean the application
vendor               Go get vendor
release              Create a release build.
bench                Benchmark the code.
prof                 Run the profiler.
prof_svg             Run the profiler and generate image.
generate_swagger     Generate swagger definitions from the comments
package              Package the html, css, js files etc
compress             Run upx on the generated binary in `build` directory
build_linux_only     Helper target to quickly build for linux without creating tar

fiber-pongo2-pkger's People

Contributors

ansrivas avatar dependabot-preview[bot] avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

fiber-pongo2-pkger's Issues

Dependabot can't resolve your Go dependency files

Dependabot can't resolve your Go dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

github.com/ansrivas/fiber-pongo2-pkger/internal/config: cannot find module providing package github.com/ansrivas/fiber-pongo2-pkger/internal/config
github.com/ansrivas/fiber-pongo2-pkger imports
	github.com/ansrivas/fiber-pongo2-pkger/pkg/app: cannot find module providing package github.com/ansrivas/fiber-pongo2-pkger/pkg/app
github.com/ansrivas/fiber-pongo2-pkger imports
	github.com/ansrivas/fiber-pongo2-pkger/pkg/routers: cannot find module providing package github.com/ansrivas/fiber-pongo2-pkger/pkg/routers

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Dependabot can't resolve your Go dependency files

Dependabot can't resolve your Go dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

github.com/ugorji/[email protected]: reading github.com/ugorji/go/go.mod at revision v1.1.5-pre: unknown revision v1.1.5-pre

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Dependabot can't resolve your Go dependency files

Dependabot can't resolve your Go dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

github.com/ugorji/go/[email protected]: reading github.com/ugorji/go/codec/codec/go.mod at revision codec/v1.1.5-pre: unknown revision codec/v1.1.5-pre

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Dependabot can't resolve your Go dependency files

Dependabot can't resolve your Go dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

github.com/ansrivas/fiber-pongo2-pkger/internal/config: cannot find module providing package github.com/ansrivas/fiber-pongo2-pkger/internal/config
	github.com/ansrivas/fiber-pongo2-pkger/pkg/app: cannot find module providing package github.com/ansrivas/fiber-pongo2-pkger/pkg/app
	github.com/ansrivas/fiber-pongo2-pkger/pkg/routers: cannot find module providing package github.com/ansrivas/fiber-pongo2-pkger/pkg/routers

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Dependabot can't resolve your Go dependency files

Dependabot can't resolve your Go dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

github.com/ansrivas/fiber-pongo2-pkger/internal/config: cannot find module providing package github.com/ansrivas/fiber-pongo2-pkger/internal/config
github.com/ansrivas/fiber-pongo2-pkger imports
	github.com/ansrivas/fiber-pongo2-pkger/pkg/app: cannot find module providing package github.com/ansrivas/fiber-pongo2-pkger/pkg/app
github.com/ansrivas/fiber-pongo2-pkger imports
	github.com/ansrivas/fiber-pongo2-pkger/pkg/routers: cannot find module providing package github.com/ansrivas/fiber-pongo2-pkger/pkg/routers

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Dependabot can't resolve your Go dependency files

Dependabot can't resolve your Go dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

github.com/ansrivas/fiber-pongo2-pkger/internal/config: cannot find module providing package github.com/ansrivas/fiber-pongo2-pkger/internal/config
github.com/ansrivas/fiber-pongo2-pkger imports
	github.com/ansrivas/fiber-pongo2-pkger/pkg/app: cannot find module providing package github.com/ansrivas/fiber-pongo2-pkger/pkg/app
github.com/ansrivas/fiber-pongo2-pkger imports
	github.com/ansrivas/fiber-pongo2-pkger/pkg/routers: cannot find module providing package github.com/ansrivas/fiber-pongo2-pkger/pkg/routers

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.