Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-5291

golang tutorial seems broken

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 0.13.0
    • None
    • Go - Library
    • None
    • Mac OS, Ubuntu 20.04

    Description

      I admit, I am a bit new to golang... but not new to thrift.  I am using thrift Servers written in C#, Python, Java... but I would LOVE to look into golang.

      I first started with my own teams .thrift file... but soon realized that I didn't understand golang enough to create the Handler... got lots of errors.

      Plan B - well just spin up the tutorial, right?  Not quite.  I see in the golang tutorial a Makefile.am ... I have tried `autoreconf` `cmake` `make -f` .. none of these worked and there is no getting started read me or hint as to what tool makes this tutorial come together... which would help me then understand what I need to do to finish my own teams .thrift server.

       

      
      cmake .
       CMake Error: The source directory "~/go" does not appear to contain CMakeLists.txt.
       Specify --help for usage, or press the help button on the CMake GUI.
      
      autoreconf 
       autoreconf: 'configure.ac' or 'configure.in' is required
      
      make -f Makefile.am
       make: *** No rule to make target `/tutorial/tutorial.thrift', needed by `gen-go/tutorial/calculator.go'. Stop.
      
      

      folder structure is as follows

       

       

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            emcp Erik
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment