Giter Club home page Giter Club logo

Comments (6)

aminehmida avatar aminehmida commented on July 19, 2024

I think that this is a library. If you want to test it then you need to do this :

You need to install the dependancy first:

go get github.com/surge/glog
go get github.com/spf13/cobra

Then :

go run sequence.go

from sequence.

 avatar commented on July 19, 2024

Thanks. I understand it's a library, but presume there is a driver/unit test.

I'll have to look at it later when I've got more time:

[user@holly sequence]$ go run sequence.go
go run: cannot run non-main package

from sequence.

zhenjl avatar zhenjl commented on July 19, 2024

Hi @jspashett, sorry for the delay in responding. I was completely down last week due to a cold and haven't had a chance to answer questions.

@aminehmida thanks your help!

To run the unit tests, you need to be in the top level sequence dir:

go get github.com/strace/sequence
cd $GOPATH/src/github.com/strace/sequence
go test

To run the actual command you need to

cd $GOPATH/src/github.com/strace/sequence/sequence
go run sequence.go

Note the command is in the sequence/sequence dir.

I am actually, in the next commit, moving the sequence command into the cmd/sequence dir to make it a bit more clear.

Do expect some changes in th next commit as I am trying to wrap up the analyzer part of the library.

from sequence.

 avatar commented on July 19, 2024

Thanks. After go getting testify it worked. I will have a look in more detail soon.

from sequence.

zhenjl avatar zhenjl commented on July 19, 2024

If you ran

go get github.com/strace/sequence

It should have gotten all the dependencies as well. Did it not do that?

thx

from sequence.

zhenjl avatar zhenjl commented on July 19, 2024

Added usage info to README.md

from sequence.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.