init project
This commit is contained in:
parent
a1e72c554d
commit
fc085b9be1
7 changed files with 43 additions and 0 deletions
14
.drone.yml
Normal file
14
.drone.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
# Test building the code and docker image
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: test-build
|
||||
|
||||
steps:
|
||||
- name: go-test
|
||||
image: golang
|
||||
commands:
|
||||
- make test
|
||||
depends_on:
|
||||
|
||||
# TODO: publish doc
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -21,3 +21,4 @@
|
|||
# Go workspace file
|
||||
go.work
|
||||
|
||||
dist
|
2
Makefile
Normal file
2
Makefile
Normal file
|
@ -0,0 +1,2 @@
|
|||
test:
|
||||
go test
|
7
base.go
Normal file
7
base.go
Normal file
|
@ -0,0 +1,7 @@
|
|||
package devicepath
|
||||
|
||||
type DevicePathNode interface{}
|
||||
|
||||
type DevicePath interface {
|
||||
String() string
|
||||
}
|
3
go.mod
Normal file
3
go.mod
Normal file
|
@ -0,0 +1,3 @@
|
|||
module git.faercol.me/faercol/device-path
|
||||
|
||||
go 1.20
|
9
parser.go
Normal file
9
parser.go
Normal file
|
@ -0,0 +1,9 @@
|
|||
package devicepath
|
||||
|
||||
func ParseNodeString(string) (DevicePathNode, error) {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
func ParsePathString(string) (DevicePath, error) {
|
||||
return nil, nil
|
||||
}
|
7
parser_test.go
Normal file
7
parser_test.go
Normal file
|
@ -0,0 +1,7 @@
|
|||
package devicepath_test
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestTest(t *testing.T) {
|
||||
|
||||
}
|
Loading…
Reference in a new issue