Giter VIP home page Giter VIP logo

go-web's People

Contributors

dependabot[bot] avatar gergiadev avatar robyferro avatar snyk-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

go-web's Issues

Improve IOC container

Is your feature request related to a problem? Please describe.
Go-Web doesn't provide a clear solution for singleton dependency. Now you can't implement singleton in controller parameters cause it resolves only dependencies in "request container".

Describe the solution you'd like
Creates an abstraction that parses controller methods (with reflections), extracting all parameters into a list of interfaces.
This list will be parsed by a procedure that tries to resolve every interface in both containers (singleton and request) via fallback algorithm. All interfaces can be invoked into the IOC containers within a function similar to the following.

func(x interface{}) *interface{}{
    return *x;
}

how can i help the project?

I'm a beginner in GO, but I've been working for years with PHP and Laravel, I'm loving the Go language but I really miss a framework like Laravel.

I would love to help the project by getting my hands dirty but I don't know where to start.

Update mongo driver

As reported by dependabot alert we need to update the mongo driver to version:

go.mongodb.org/mongo-driver v1.5.1

Failed Install

Describe the bug
A clear and concise description of what the bug is.

It cannot be installed following the documentation provided at https://goweb.readthedocs.io/en/latest/installation.html;

To Reproduce
Steps to reproduce the behavior:

  1. Setup environment as expected with &GOPATH environment variable
  2. Following the docs run go get github.com/RobyFerro/go-web
    (downloads some packages)
  3. Following the docs, cd $GOPATH/src/github.com/RobyFerro/go-web
    (cd: no such file or directory: ...)
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

The install should copy the files to a valid path.
The docs and command expects the path to be
/Users/John/go/src/github.com/RobyFerro/go-web

BUT it doesn't exist. The files are deployed to
/Users/John/go/pkg/mod/github.com/!roby!ferro/[email protected]
/Users/John/go/pkg/mod/github.com/!roby!ferro/[email protected]

Desktop (please complete the following information):

  • OS: macOS Catalina
  • Browser Chrome

Additional context
The funny looking path !roby!ferro has been reported in a previous error #1 seems, we can't get to build until we can cd. Is there a different documentation or am I doing something wrong?

Fix documentation

Documentation is quite old. Needs update with new features and architecture description.

Implement request validation

Needs to implement a validation logic externally from the controller. This because controllers may contains various endpoint and should not be implement private or "support" methods. Something like Laravel form validation may fit to this purpose.

Of course you'll can still validate request inside your controller but this implementation may make everything more clear.

Production Ready

Hi

Wondering if the code base is ready for production use.

Whats actually required to get the codebase into production usage.

I'm happy to contribute to the codebase aswell.

Keep up the good work.

Broken welcome page

Describe the bug
Go-Web welcome page does not show Go-Web logo

To Reproduce
Just start the HTTP server and go to the welcome page

Desktop (please complete the following information):

  • OS: Windows 10 64bit

failed install

Describe the bug
Can't install this framework.

To Reproduce
Steps to reproduce the behavior:
go install failed with
$GOPATH\pkg\mod\github.com\!roby!ferro\[email protected]\http_server.go:150:12: undefined: syscall.Setuid $GOPATH\pkg\mod\github.com\!roby!ferro\[email protected]\http_server.go:163:12: undefined: syscall.Setgid

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: windows 10 2004

Warning messages during windows compilation

Describe the bug
Warning messages during Windows compilation.

To Reproduce
Just try to install Go-Web on windows system

Desktop (please complete the following information):

  • OS: Windows 10 64bit

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.