GoDict/internal/dict/test_data/dict2.yaml
2024-02-18 06:05:09 +03:30

52 lines
942 B
YAML

name: Test Project
version: 1.0
active: true
description: This is a sample YAML file for testing the Dict package.
metadata:
author: John Doe
license: MIT
tags: [sample, test, yaml]
configuration:
threads: 4
verbose: true
features:
- logging
- monitoring
resources:
- type: database
name: primary-db
properties:
host: localhost
port: 5432
credentials:
username: admin
password: secret
- type: cache
name: redis-cache
properties:
host: localhost
port: 6379
ttl: 3600
nested:
level1:
level2:
level3:
key: value
array: [1, 2, 3, 4.5]
nestedArray:
- key1: val1
- key2: val2
subNested:
subKey1: subVal1
subKey2: 2
additionalNotes: |-
This is a multiline string.
It can contain new lines and spaces.
It's useful for longer descriptions or content.