Giter Club home page Giter Club logo

Comments (3)

tristanisham avatar tristanisham commented on September 6, 2024

@yusefnapora I created a pull for the Go getting started example. In its current state, it won't compile. There's no mention of the necessary declaration of ctx as seen in the last two code snippets of the document.

 // The context governs the lifetime of the libp2p node.
// Cancelling it will stop the the host.
ctx, cancel := context.WithCancel(context.Background())
defer cancel()

from docs.

p-shahi avatar p-shahi commented on September 6, 2024

Reach out to other implementations (Python, Nim, Zig, etc) to be included in examples page. Will close the child tickets in favor of this one. @DannyS03 plans to combine the Tutorials and Examples section in the future, so some of this work will be addressed by that.

from docs.

salmad3 avatar salmad3 commented on September 6, 2024

After having touched on this issue (and idea) a few times in the latter half of 2022, the preference among the stewards is to keep the examples in their respective repos.

We also have a general "Guides" section now that provides guides to get started with libp2p, and it will continue to refer to the examples in each repo (for example, as mentioned here). Implementations that do not have a getting started guide will be added shortly.

As a result, let's close this and revisit if necessary.

from docs.

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.