init project

This commit is contained in:
Melora Hugues 2023-08-27 11:31:03 +02:00
parent a1e72c554d
commit fc085b9be1
7 changed files with 43 additions and 0 deletions

14
.drone.yml Normal file
View 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
View file

@ -21,3 +21,4 @@
# Go workspace file
go.work
dist

2
Makefile Normal file
View file

@ -0,0 +1,2 @@
test:
go test

7
base.go Normal file
View file

@ -0,0 +1,7 @@
package devicepath
type DevicePathNode interface{}
type DevicePath interface {
String() string
}

3
go.mod Normal file
View file

@ -0,0 +1,3 @@
module git.faercol.me/faercol/device-path
go 1.20

9
parser.go Normal file
View 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
View file

@ -0,0 +1,7 @@
package devicepath_test
import "testing"
func TestTest(t *testing.T) {
}