Giter Club home page Giter Club logo

go-which's Introduction

go-which

Go-Which is a simplified reimplementation of the Unix 'which' command built in Go. This project is designed to be a practical, beginner-friendly introduction to Go programming, showcasing fundamental concepts such as handling command-line arguments, reading environment variables, and working with file paths.

Tutorial

This project was created as part of a tutorial for beginners to learn Go (Golang). It covers the basics of Go's syntax and features by building a CLI tool that mimics the Unix 'which' command. This command is used to locate the path of executable binaries in the system.

For a detailed guide and explanation of how this project was built, check out the full tutorial on my website: Go-Which Tutorial

Getting Started

To get started with Go-Which, you need to have Go installed on your system. You can download and install Go from here.

Installation

  1. Clone the repository:
git clone https://github.com/AyoubIssaad/go-which.git
  1. Navigate to the cloned directory:
cd go-which
  1. Run the program:
go run main.go [executableName]

Replace [executableName] with the name of the binary you want to locate.

Contributing

Contributions to the project are welcome! To continue learning together, you can develop a new feature and submit a new PR, I'll review it and merge it to the code.

License

This project is licensed under the MIT License

go-which's People

Contributors

ayoubissaad avatar

Stargazers

 avatar Saulius Krasuckas avatar

Watchers

 avatar

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.