Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
8fd9e568
"vscode:/vscode.git/clone" did not exist on "02e30ca6e4d629d9cddc87886acf06207f07f803"
Unverified
Commit
8fd9e568
authored
Apr 27, 2024
by
Blake Mizerany
Committed by
GitHub
Apr 27, 2024
Browse files
types/structs: drop unused structs package (#3981)
parent
2bed6292
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
15 deletions
+0
-15
types/structs/structs.go
types/structs/structs.go
+0
-15
No files found.
types/structs/structs.go
deleted
100644 → 0
View file @
2bed6292
// Copyright (c) Tailscale Inc & AUTHORS
// SPDX-License-Identifier: BSD-3-Clause
// Package structs contains the Incomparable type.
package
structs
// Incomparable is a zero-width incomparable type. If added as the
// first field in a struct, it marks that struct as not comparable
// (can't do == or be a map key) and usually doesn't add any width to
// the struct (unless the struct has only small fields).
//
// By making a struct incomparable, you can prevent misuse (prevent
// people from using ==), but also you can shrink generated binaries,
// as the compiler can omit equality funcs from the binary.
type
Incomparable
[
0
]
func
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment