Golang PDF tool with Go, Maroto & GoFakeIt | Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 พ.ย. 2024

ความคิดเห็น • 50

  • @johnfercher
    @johnfercher 3 ปีที่แล้ว +5

    Heeey, such a nice tutorial, Congrats. Do you mind if I add a link in maroto repo to this video?

    • @DivRhino
      @DivRhino  3 ปีที่แล้ว +1

      Thank you for your lovely comment! Sure, you can add a link to this video. That would be very cool 😊

    • @cindrmon
      @cindrmon 2 ปีที่แล้ว +2

      hiya! i have a question.. can making a resume with maroto be a good use case? im just curious

    • @DivRhino
      @DivRhino  2 ปีที่แล้ว +2

      @@cindrmon It sounds like a good use case to me. As long as you find it useful to work on, I feel it would be a great learning opportunity :)

  • @NealJansen
    @NealJansen 3 ปีที่แล้ว +11

    such calm narration. much ASMR.

    • @DivRhino
      @DivRhino  3 ปีที่แล้ว +2

      Thank you for your kind comment! I'm glad your found the video helpful :)

  • @ThePeldor
    @ThePeldor 3 ปีที่แล้ว +4

    i believe your video style is one of a kind

    • @DivRhino
      @DivRhino  3 ปีที่แล้ว +1

      Aw, thank you for your lovely comment. It makes me happy that you stopped by. :)

  • @k.m.jiaulislamjibon1443
    @k.m.jiaulislamjibon1443 3 ปีที่แล้ว +2

    your voice is so soothing, here at 2 AM I'm getting sleepy by your voice lol 😂 ... great videos btw... thanks

    • @DivRhino
      @DivRhino  3 ปีที่แล้ว +1

      Haha, thank you for your nice comment! I'm glad you stopped by :)

  • @abdulhamidkhorajiya2256
    @abdulhamidkhorajiya2256 3 ปีที่แล้ว +2

    Excellent explanation. Keep mind peaceful by hearing you and learn thank you

    • @DivRhino
      @DivRhino  3 ปีที่แล้ว +1

      Thank you so much for your lovely comment. Hope you are having a good day. :)

  • @miltonbittencourt9605
    @miltonbittencourt9605 3 ปีที่แล้ว +3

    Maroto is such a great tool!!!

    • @DivRhino
      @DivRhino  3 ปีที่แล้ว +1

      I agree! It really is a wonderful tool 💯

    • @johnfercher
      @johnfercher 2 ปีที่แล้ว +1

      Thx my friend =)

  • @arthurneto1307
    @arthurneto1307 ปีที่แล้ว +1

    Grangratulations from Brazil. Very good.

    • @DivRhino
      @DivRhino  ปีที่แล้ว

      Thank you for your kind support! 🙏✨

  • @brooqs
    @brooqs 3 ปีที่แล้ว +2

    Dude you are life saver. Google hiding us the Maroto libraries. Thanks. o7

    • @DivRhino
      @DivRhino  3 ปีที่แล้ว +2

      Thank you for leaving an encouraging comment! I appreciate it. Glad you found the video helpful 🙂⭐️

  • @reginag.rajendran6738
    @reginag.rajendran6738 3 ปีที่แล้ว +2

    Such a clear explanation! Thanks!

    • @DivRhino
      @DivRhino  3 ปีที่แล้ว +1

      Thank you for your kind comment, Regina!

  • @SirRFI
    @SirRFI 3 ปีที่แล้ว +3

    Why did you use functions to create colors (ie: getDarkPurpleColor)? Wouldn't package-level vars do just fine?

    • @DivRhino
      @DivRhino  3 ปีที่แล้ว +3

      Thank you for your question :) It's mostly just a matter of preference. Using package-level variables would be fine too, yes.

  • @eduardabramovich1216
    @eduardabramovich1216 ปีที่แล้ว

    Keep making Golang videos, I hope you can create a more complete project, teaching us the design, you know, database and back-end logic.

    • @DivRhino
      @DivRhino  ปีที่แล้ว

      Thank you for your feedback 🙏

  • @karolbajrulewicz9434
    @karolbajrulewicz9434 2 ปีที่แล้ว +1

    Excellent stuff on your channel. I am so glad I found it 🙏🙏

    • @DivRhino
      @DivRhino  2 ปีที่แล้ว

      I’m happy to have you here. Thank you for the encouraging comment! 🙌

    • @karolbajrulewicz9434
      @karolbajrulewicz9434 2 ปีที่แล้ว

      @@DivRhino I will keep coming back for more hugo new stuff, so please keep up the good work :-)

  • @rahulkmail
    @rahulkmail 3 ปีที่แล้ว +3

    Excellent tutorial Div Rhino. As I am new to Go lang and from Python and PHP programming language, I can see in your code that you are storing results of calling library functions in a variable, "err" and then you are comparing. My question is do "Go Programming" allows us to directly compare results from methods without saving it in extra variable likewise Python and PHP to save memory usage ?

    • @DivRhino
      @DivRhino  3 ปีที่แล้ว +4

      Hello Rahul, thank you for your comment! And that is a good question :)
      You can, technically, directly compare the results from a method. However, it is good to use the variable for consistency. In Go, you're able to return more than one value from a function. For example: result, err. In a case like that, you'd want to store both the result and the error values in variables that you can use elsewhere. So even when there's only one return value, following the same pattern helps to keep things consistent. It's common to see it done this way, and anybody coming to your code will have an easier time understanding what you mean. Hope that is helpful.

  • @arjunshinde7
    @arjunshinde7 3 ปีที่แล้ว +2

    Wow you created a good content. Would you please make a series over real world project on Web development like E-commerce website. It will help us to learn Web development using GO language.

    • @DivRhino
      @DivRhino  3 ปีที่แล้ว

      Thank you for your comment! And thanks for the suggestion, :)

  • @RUVIRECORDS
    @RUVIRECORDS ปีที่แล้ว

    Is there a way that we can add pages in bulk using goroutines?
    I have a use case where I need to generate a 500 page pdf, and it happens sequentially right now.

    • @DivRhino
      @DivRhino  ปีที่แล้ว +1

      Hi there, thank you for your question. I haven't personally experimented with using go routines with Maroto. This sounds like a task you could delegate to a background job, maybe?

  • @cindrmon
    @cindrmon 2 ปีที่แล้ว +2

    another great tutorial! i did notice while trying to make a header, it doesn't appear only until the pdf contains any content. but i guess that happened because i'm already using the latest version (0.37.0). so yea, just a heads up, i guess you need to have setup a body for the pdf file first to have the header working. other than that, great tutorial!

    • @DivRhino
      @DivRhino  2 ปีที่แล้ว +1

      Thank you for leaving this comment! I'm sure others will find it very useful if they are also using newer versions of the package :)

  • @NurAamTaniaRahmat
    @NurAamTaniaRahmat 5 หลายเดือนก่อน

    can i create a pdf including a barcode using this package?

    • @DivRhino
      @DivRhino  4 หลายเดือนก่อน

      I’ve taken a look at the code in version 2 and they do have a barcode constant available.
      github.com/johnfercher/maroto/tree/master/pkg/consts/barcode

  • @abdurashidgaybullayev5170
    @abdurashidgaybullayev5170 ปีที่แล้ว

    Hello, your PDF generator function does not accept text in the Krill alphabet

    • @DivRhino
      @DivRhino  ปีที่แล้ว

      Thank you for the feedback!

  • @amauryrodrigo
    @amauryrodrigo 3 ปีที่แล้ว +2

    Thanks a lot!!! :)

    • @DivRhino
      @DivRhino  3 ปีที่แล้ว +1

      You're welcome! I'm glad the video was useful. Thank you for stopping by. :)

  • @srttkx
    @srttkx 3 ปีที่แล้ว +2

    👍

    • @DivRhino
      @DivRhino  3 ปีที่แล้ว +2

      Hello Sarath! Nice of you to stop by again. Thank you :)

  • @ghooths
    @ghooths 3 ปีที่แล้ว +1

    Thanks for making tutorial cartoon.

    • @DivRhino
      @DivRhino  3 ปีที่แล้ว

      Thank you! 🙏

  • @ВасилийВолосовцов
    @ВасилийВолосовцов 2 ปีที่แล้ว +1

    Thanks you for this usefull's libs =) U cute

    • @DivRhino
      @DivRhino  2 ปีที่แล้ว +1

      Thank you for watching!

  • @ramzbew5674
    @ramzbew5674 ปีที่แล้ว

    Hi. Make videos how to create TG bots on go

    • @DivRhino
      @DivRhino  ปีที่แล้ว

      Thanks for your comment. That’s not on the cards for right now 🙏