Skip to content

cachito-testing/go-generate-generated

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-generate-generated

Repo for testing how Cachito handles packages, specifically for repos which use go generate. See go generate.
Such repos can be identified with a //go:generate ... comment in the main.go file.
There are 4 of these repos with distinct characteristics:

  1. Directory foobar is empty and main.go does not import package foobar
  2. Directory foobar contains foobar.go and main.go does not import package foobar
  3. Directory foobar is empty and main.go imports package foobar
  4. Directory foobar contains foobar.go and main.go imports package foobar

This is case 2. In this case, Cachito request recognizes both "main" and "foobar" as packages (2pkg, 0dep)
├── foobar
│ └── foobar.go ("package foobar", generated)
└── main.go ("package main")

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages