You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Erik (Jira)" <ji...@apache.org> on 2020/10/07 21:14:00 UTC

[jira] [Created] (THRIFT-5291) not very clear how to use golang implementation

Erik created THRIFT-5291:
----------------------------

             Summary: not very clear how to use golang implementation
                 Key: THRIFT-5291
                 URL: https://issues.apache.org/jira/browse/THRIFT-5291
             Project: Thrift
          Issue Type: Bug
          Components: Go - Library
    Affects Versions: 0.13.0
         Environment: Mac OS, Ubuntu 20.04
            Reporter: Erik
         Attachments: image-2020-10-07-23-13-17-967.png

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 "/Users/emcp/Dev/git/golang_thrift_experiments/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

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)