groupware: convert documentation to proper markdown

This commit is contained in:
Pascal Bleser
2026-02-04 09:39:12 +01:00
parent 7615df3924
commit e2fb4fc97a
4 changed files with 781 additions and 1027 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,28 @@
//go:build groupware_examples
package jmap
import c "github.com/opencloud-eu/opencloud/pkg/jscontact"
func JSContactExample() {
SerializeExamples(JSContactExemplarInstance)
//Output:
}
type JSContactExemplar struct {
}
var JSContactExemplarInstance = JSContactExemplar{}
func (e JSContactExemplar) Name() c.Name {
return c.Name{
Type: c.NameType,
Components: []c.NameComponent{
{Type: c.NameComponentType, Value: "Drummer", Kind: c.NameComponentKindGiven},
{Type: c.NameComponentType, Value: "Camina", Kind: c.NameComponentKindGiven},
},
IsOrdered: true,
DefaultSeparator: ", ",
Full: "Camina Drummer",
}
}