sujit-baniya / flash Goto Github PK
View Code? Open in Web Editor NEWThis package is build to send the flash messages on the top of Gofiber
License: MIT License
This package is build to send the flash messages on the top of Gofiber
License: MIT License
Any chance you can drop in an MIT license to this excellent repo? Many thanks.
Is the following the correct way to change to cookie name globally?
flash.Default("new_name")
Since we have WithSuccess()
and WithError()
are you able to add the following?
WithInfo()
and WithWarn()
By doing this it enables it to work well with a lot of css frameworks
that support these alerts.
Thanks
Can you please add samesite lax to cookie please or make is configurable defaulting to lax.
Cookie “f-Flash” does not have a proper “SameSite” attribute value. Soon, cookies without the “SameSite” attribute or with an invalid value will be treated as “Lax”. This means that the cookie will no longer be sent in third-party contexts. If your application depends on this cookie being available in such contexts, please add the “SameSite=None“ attribute to it. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite
Could you also lowercase the -Flash
(cookie name) please?
Are you able to add RedirectToRoute
to this please?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.