Giter Site home page Giter Site logo

xdoubleu / essentia Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 260 KB

This is a toolkit which contains reusable tools, helpers and such, allowing you to focus on the essence of your project.

Home Page: https://pkg.go.dev/github.com/XDoubleU/essentia

License: MIT License

Makefile 0.70% Go 99.30%
toolkit golang

essentia's Introduction

essentia 🧰

Go Reference GitHub Workflow codecov Go Report Card GitHub last commit

essentia is a toolkit which contains reusable tools, helpers and such. This allows you to focus on the essence of your project. These tools are properly tested so that you can rely on their proper functioning.

I will add some smaller examples here in the near future. For now the larger examples and tests can be used as reference.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

For more information please read the CONTRIBUTING document.

License

MIT

essentia's People

Contributors

xdoubleu avatar renovate[bot] avatar

Stargazers

 avatar

Watchers

 avatar  avatar

essentia's Issues

Figure out required functionalities for MVP

Generic Views (as used in Django):
Django’s generic views... were developed as a shortcut for common usage patterns... They take certain common idioms and patterns found in view development and abstract them so that you can quickly write common views of data without having to repeat yourself.

Logging

Standard Configuration

Standard Middleware

Routing (with authenticated endpoints)

Input validation

Small testing library

Input validation & parsing

The validator should also parse data.

  • The QueryValues
  • The PathValues
  • The RequestBody

And make these easily accessible through the context.

Read effective go and adjust accordingly

  • Getters & setters: field: owner;getter: Owner;setter: SetOwner
  • One method interfaces are named by their method name + er; eg. method Read, interface Reader
  • Variable names should be short if they have a limited scope and especially if they are used often

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Awaiting Schedule

These updates are awaiting their schedule. Click on a checkbox to get an update now.

  • Update module nhooyr.io/websocket to v1.8.17
  • Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v1.60.1
  • Update module golang.org/x/time to v0.6.0

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

docker-compose
docker-compose.yml
  • postgres 16
github-actions
.github/workflows/main.yml
  • actions/checkout v4
  • actions/setup-go v5
  • golangci/golangci-lint-action v6
  • actions/checkout v4
  • actions/setup-go v5
  • codecov/codecov-action v4
gomod
go.mod
  • go 1.22
  • github.com/getsentry/sentry-go v0.27.0
  • github.com/goddtriffin/helmet v1.0.2
  • github.com/justinas/alice v1.2.0
  • github.com/rs/cors v1.11.0
  • golang.org/x/time v0.5.0
  • github.com/google/uuid v1.6.0
  • github.com/jackc/pgerrcode v0.0.0-20240316143900-6e2875d9b438@6e2875d9b438
  • github.com/jackc/pgx/v5 v5.6.0
  • github.com/stretchr/testify v1.9.0
  • nhooyr.io/websocket v1.8.11
regex
Makefile
  • github.com/golangci/golangci-lint/cmd/golangci-lint v1.59.1
  • github.com/segmentio/golines v0.12.2
  • github.com/daixiang0/gci v0.13.4
  • github.com/securego/gosec/v2/cmd/gosec v2.20.0

  • Check this box to trigger a request for Renovate to run again on this repository

Managed goroutines

Goroutines can leak when not properly closed.

  • would be nice to be able to schedule them cron wise easily

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.