Skip to content

Instantly share code, notes, and snippets.

Berk Soysal herrberk

Block or report user

Report or block herrberk

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@herrberk
herrberk / dep.md
Created Apr 12, 2018 — forked from subfuzion/dep.md
Concise guide to golang/dep
View dep.md

Overview

This gist is based on the information available at golang/dep, only slightly more terse and annotated with a few notes and links primarily for my own personal benefit. It's public in case this information is helpful to anyone else as well.

I initially advocated Glide for my team and then, more recently, vndr. I've also taken the approach of exerting direct control over what goes into vendor/ in my Dockerfiles, and also work from isolated GOPATH environments on my system per project to ensure that dependencies are explicitly found under vendor/.

At the end of the day, vendoring (and committing vendor/) is about being in control of your dependencies and being able to achieve reproducible builds. While you can achieve this manually, things that are nice to have in a vendoring tool include:

View arraylists.java
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
public class UsefulCodes {
// ArrayLists
public static List<String> listeler(int a){
String[] words2={"eggs","lazers","hats","pie"};
You can’t perform that action at this time.