mirror of
https://github.com/mayflower/docker-ls.git
synced 2025-11-26 12:03:12 +03:00
22 lines
321 B
Go
22 lines
321 B
Go
package lib
|
|
|
|
type tag struct {
|
|
name string
|
|
repositoryName string
|
|
}
|
|
|
|
func (t *tag) Name() string {
|
|
return t.name
|
|
}
|
|
|
|
func (t *tag) RepositoryName() string {
|
|
return t.repositoryName
|
|
}
|
|
|
|
func newTag(name, repositoryName string) *tag {
|
|
return &tag{
|
|
name: name,
|
|
repositoryName: repositoryName,
|
|
}
|
|
}
|