diff options
| author | Carlos Martín Nieto <[email protected]> | 2013-09-11 23:01:27 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <[email protected]> | 2013-09-11 23:01:27 +0200 |
| commit | 008e1efb35b07b4a91dba69369b8217862f11abd (patch) | |
| tree | e5c6924fdab8c021f7964d40c7b2e7a25736f7f5 /object.go | |
| parent | 3cbfdf37f48c7b2f8726ad7e60a963cae1d8fd21 (diff) | |
Object types are constants
Define the object type values as constants
Diffstat (limited to 'object.go')
| -rw-r--r-- | object.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -10,7 +10,7 @@ import "runtime" type ObjectType int -var ( +const ( OBJ_ANY ObjectType = C.GIT_OBJ_ANY OBJ_BAD ObjectType = C.GIT_OBJ_BAD OBJ_COMMIT ObjectType = C.GIT_OBJ_COMMIT |
