blue-jay / blueprint

Blueprint for your next web application in Go.
https://blue-jay.github.io/
MIT License
481 stars 77 forks source link

question: how to trigger signal? #75

Open cucy opened 6 years ago

cucy commented 6 years ago

thanks your good project!

like django:

https://docs.djangoproject.com/en/2.0/topics/signals/

then How to do it?

josephspurrier commented 6 years ago

I haven't worked with Django. Can you provide a use case for what you want to do with a signal?

tsarchghs commented 6 years ago

@josephspurrier In django it's triggering an event if something happened to the specified object. For example: If a user was created, --> create userprofile object

josephspurrier commented 6 years ago

Interesting. I'm not sure how I would implement that, I'm sorry.