Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Kacper Czochara
    @Slacki
    pretty good, thanks
    celebrating birthday ;)
    Geofrey Ernest
    @gernest
    wow! Happy birthday! :smile:
    Kacper Czochara
    @Slacki
    thanks! feel old now ;C
    Geofrey Ernest
    @gernest
    haha! We all do!
    Kacper Czochara
    @Slacki
    i turned 18 a year ago, so i became an adult
    and this year just passed by so fast
    incredibly fast
    idk
    i think i get what they say, that time flies faster after 18 birthday
    ;p
    Geofrey Ernest
    @gernest
    :smile:
    true
    Kacper Czochara
    @Slacki
    may i ask, how old are you?
    Geofrey Ernest
    @gernest
    I never kept any tabs on my birthdays
    Kacper Czochara
    @Slacki
    okay
    Geofrey Ernest
    @gernest
    check you PM
    Patrick Wieschollek
    @PatWie
    any thoughts on: gernest/utron#64 ?
    @gernest
    Geofrey Ernest
    @gernest
    I just fixed the issue which introduced race conditions into utron
    Nyah Check
    @Ch3ck
    Hi Guys, this project will be good for GSoC(https://summerofcode.withgoogle.com)
    nice work @gernest
    Get more African Devs work on this
    Geofrey Ernest
    @gernest
    @Ch3ck thanks
    I havent researched much on GSoC. Just heard about it on forums and HN!
    I am actively refactoring utron now on the dev branch https://github.com/gernest/utron/tree/dev
    You can join the effort, ideas, insight advice and PR are all welcome!
    Nyah Check
    @Ch3ck
    No problem @gernest
    I'll take a look
    @gernest You can meet other african gophers at #africa on golangbridge slack channel
    We have Devs, from Cameroon, Nigeria, Ghana, Kenya etc
    It'll be a good initiative for some of us to do some interesting programming
    Geofrey Ernest
    @gernest
    @Ch3ck cool! Can you help me on how I can join that slack channel?
    Nyah Check
    @Ch3ck
    I think you've joined already
    TrAnn3l
    @TrAnn3l
    How can i use templates which are in a subfolders?
    E.g. i have views\base.html and views\coins\view.html
    Setting t.Ctx.Template = "coins\view" doesn't work
    TrAnn3l
    @TrAnn3l
    Using windows btw
    TrAnn3l
    @TrAnn3l
    I also tried:
    t.Ctx.Template = "coins\\view"
    t.Ctx.Template = "coins/view"
    t.Ctx.Template = "coins//view"
    TrAnn3l
    @TrAnn3l
    Nevermind. Had a logic error in my templates.
    Geofrey Ernest
    @gernest
    hey
    @TrAnn3l I don't have a windows machine so it is hard for me to reproduce.
    can you please open an issue on github? There are other maintainers who might have a windows machine who can help you
    TrAnn3l
    @TrAnn3l
    I fixed it. It was not a problem with utron, it was a problem with my templates.
    The one that worked was: t.Ctx.Template = "coins/view", just like excepted

    But i still have some question.
    Is there a way to register all models with a few lines?
    I don't like it to have 20 lines like: app.Model.Register(&models.Coin{})

    Also, is there a way to register middleware for every controller?

    TrAnn3l
    @TrAnn3l
    What would be the best way to implement a cron job?
    I tried starting the cron job when the controller get initialized, but i only get runtime errors.
    At the moment i'm setting up the cron job in the main file and let it call an url which then triggers the function in the controller, which is not a nice solution in my eyes.
    Tom
    @tghastings
    Get guys. Quick question. Is there a way when I run main.go for development to bind the port 8090 to an ip address?
    Hey guys*
    other than localhost
    like 0.0.0.0
    Tom
    @tghastings
    Or how about a way to respond to a create request with json for an ajax request instead of redirecting to a new page?